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]
// split the dataframe (org and dup)
After Change
)[["index_x", "index_y"]]
pairs_df = pairs_df[pairs_df["index_x"] > pairs_df["index_y"]]
return pandas.MultiIndex(
levels=[df.index.values, df.index.values],
labels=[pairs_df["index_x"].values, pairs_df["index_y"].values],
names=[None, None],
verify_integrity=False
)
def load_febrl1(return_links=False):
Load the FEBRL 1 dataset.
In pattern: SUPERPATTERN
Frequency: 4
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: pantsbuild/pants
Commit Name: edcd459b9cf96c3e5ffc8d6965df5f2e731b3b84
Time: 2014-10-30
Author: tinystatemachine@gmail.com
File Name: src/python/pants/cache/restful_artifact_cache.py
Class Name: RESTfulArtifactCache
Method Name: use_cached_files
Project Name: pantsbuild/pants
Commit Name: 78a0daafdb5d4f1335b23f56ea115d9a35ada677
Time: 2017-02-27
Author: jasonqsong@outlook.com
File Name: contrib/node/src/python/pants/contrib/node/subsystems/node_distribution.py
Class Name: NodeDistribution
Method Name: path
Project Name: pantsbuild/pants
Commit Name: edcd459b9cf96c3e5ffc8d6965df5f2e731b3b84
Time: 2014-10-30
Author: tinystatemachine@gmail.com
File Name: src/python/pants/cache/local_artifact_cache.py
Class Name: LocalArtifactCache
Method Name: use_cached_files