4a24e4e36ee175aef54b92eb03e08a2be7811a96,recordlinkage/datasets/febrl.py,,_febrl_links,#Any#,27
Before Change
def _febrl_links(df):
Get the links of a FEBRL dataset.
df_empty = df[[] ].reset_index()
df_empty["key"] = df_empty["rec_id"].str. \
extract(r"rec-(\d+)", expand=True)[0]
After Change
Get the links of a FEBRL dataset.
index = df.index.to_series()
keys = index.str.extract(r"rec-(\d+)", expand=True)[0]
index_int = numpy.arange(len(df))
df_helper = pandas.DataFrame({
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: J535D165/recordlinkage
Commit Name: 4a24e4e36ee175aef54b92eb03e08a2be7811a96
Time: 2018-03-10
Author: jonathandebruinhome@gmail.com
File Name: recordlinkage/datasets/febrl.py
Class Name:
Method Name: _febrl_links
Project Name: tyarkoni/pliers
Commit Name: c19000b012bba5fa7ae54fadc953f5b679dead4f
Time: 2016-10-20
Author: quinten.mcnamara@gmail.com
File Name: featurex/tests/test_extractors.py
Class Name:
Method Name: test_optical_flow_extractor
Project Name: arviz-devs/arviz
Commit Name: cc5259cbd55d5cc14e7e9581210b3f5ad9cc5005
Time: 2018-06-22
Author: ari.hartikainen@aalto.fi
File Name: arviz/utils/xarray_utils.py
Class Name:
Method Name: pystan_varnames_coords_dims