4a45e6d3b863cef067c6e5db056ee6ce915ad48b,recordlinkage/base.py,BaseCompare,_get_labels_left,#BaseCompare#Any#,415

Before Change


    def _get_labels_left(self, validate=None):
        Get all labels of the left dataframe.

        return self._get_labels(1, validate=validate)

    def _get_labels_right(self, validate=None):
        Get all labels of the right dataframe.

After Change


            labels = labels + listify(compare_func.labels_left)

        // check requested labels (for better error messages)
        if not is_label_dataframe(labels, validate):
            error_msg = "label is not found in the dataframe"
            raise KeyError(error_msg)

        return unique(labels)

    def _get_labels_right(self, validate=None):
        Get all labels of the right dataframe.
        labels = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: J535D165/recordlinkage
Commit Name: 4a45e6d3b863cef067c6e5db056ee6ce915ad48b
Time: 2017-12-17
Author: jonathandebruinhome@gmail.com
File Name: recordlinkage/base.py
Class Name: BaseCompare
Method Name: _get_labels_left


Project Name: facebookresearch/ParlAI
Commit Name: 4a55d3d1f1f273a0c34cfbd523132ae015d6e94c
Time: 2021-03-22
Author: EricMichaelSmith@users.noreply.github.com
File Name: projects/md_gender/bert_ranker_classifier/agents.py
Class Name: BertRankerClassifierAgent
Method Name: eval_step


Project Name: J535D165/recordlinkage
Commit Name: 4a45e6d3b863cef067c6e5db056ee6ce915ad48b
Time: 2017-12-17
Author: jonathandebruinhome@gmail.com
File Name: recordlinkage/base.py
Class Name: BaseCompare
Method Name: _get_labels_right