f4bc6efb21e57c8fae113b6daaa722c7b436ee71,recordlinkage/indexing.py,SortedNeighbourhoodIndex,_get_sorting_key_values,#SortedNeighbourhoodIndex#Any#Any#,794

Before Change


    def _get_sorting_key_values(self, array1, array2):
        return the sorting key values as a series

        return numpy.sort(numpy.unique(numpy.concatenate(
            [array1, array2]
        )))

    def _link_index(self, df_a, df_b):
        // Index name conflicts do not occur. They are handled in the
        // decorator.

After Change


        return the sorting key values as a series

        concat_arrays = numpy.concatenate([array1, array2])
        unique_values = numpy.unique(concat_arrays)

        return numpy.sort(unique_values)

    def _link_index(self, df_a, df_b):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: J535D165/recordlinkage
Commit Name: f4bc6efb21e57c8fae113b6daaa722c7b436ee71
Time: 2017-06-21
Author: jonathandebruinhome@gmail.com
File Name: recordlinkage/indexing.py
Class Name: SortedNeighbourhoodIndex
Method Name: _get_sorting_key_values


Project Name: biotite-dev/biotite
Commit Name: b44dc788d6eaf6fe53cb6468763b46a0c4c74a12
Time: 2020-12-22
Author: anter.jacob@gmail.com
File Name: src/biotite/structure/charges.py
Class Name:
Method Name: partial_charges


Project Name: J535D165/recordlinkage
Commit Name: f0abbde5a393b8781919a2c33474757c07cfee8f
Time: 2016-01-02
Author: jonathandebruinhome@gmail.com
File Name: recordlinkage/indexing.py
Class Name:
Method Name: _sortedneighbourhood