0fe6aafe48a44cf8ec6f5a86ac3d212622074150,recordlinkage/index.py,SortedNeighbourhood,_link_index,#SortedNeighbourhood#Any#Any#,250

Before Change


        data_right = df_b[listify(right_on) + block_right_on].dropna(
            axis=0, how="any", inplace=False
        )
        data_right.columns = ["sorting_key"] + \
            ["blocking_key_%d" % i for i, v in enumerate(block_right_on)]
        data_right["index_y"] = data_right.index

        // sorting_key_values is the terminology in Data Matching [Christen,
        // 2012]

After Change


            df_a[listify(left_on) + block_left_on], copy=False)
        data_left.columns = blocking_keys
        data_left["index_x"] = numpy.arange(len(df_a))
        data_left.dropna(axis=0, how="any", subset=blocking_keys, inplace=True)

        data_right = pandas.DataFrame(
            df_b[listify(right_on) + block_right_on], copy=False)
        data_right.columns = blocking_keys
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: J535D165/recordlinkage
Commit Name: 0fe6aafe48a44cf8ec6f5a86ac3d212622074150
Time: 2018-03-10
Author: jonathandebruinhome@gmail.com
File Name: recordlinkage/index.py
Class Name: SortedNeighbourhood
Method Name: _link_index


Project Name: kwgoodman/numerox
Commit Name: 35888e106789800f5dad17a1332fd3888b0b575f
Time: 2018-01-01
Author: kwgoodman@gmail.com
File Name: numerox/report.py
Class Name: Report
Method Name: append_prediction


Project Name: commonsense/conceptnet5
Commit Name: 79928872e7b2118ae0cbc8f818850473e15fe14f
Time: 2017-03-30
Author: rob@luminoso.com
File Name: conceptnet5/vectors/debias.py
Class Name:
Method Name: get_vocabulary_vectors


Project Name: catalyst-cooperative/pudl
Commit Name: 5aaa63d7ecf85d341fec9b758d17f2bf4cde6042
Time: 2020-03-11
Author: zane.selvans@catalyst.coop
File Name: src/pudl/transform/ferc1.py
Class Name: FERCPlantClassifier
Method Name: predict