6df892110ca1b3412ba584d8af1887877afbfcfe,datasets/prep_oi4bb.py,,get_label_list,#Any#,59

Before Change


        header=None,
        dtype={"LabelName": np.unicode, "LabelDesc": np.unicode})
    label_names = df["LabelName"].values.astype(np.unicode)
    unique_label_names = np.unique(label_names)
    np.sort(unique_label_names)
    return unique_label_names

After Change


        header=None,
        dtype={"LabelName": np.unicode, "LabelDesc": np.unicode})
    label_names = df[0].values.astype(np.unicode)
    assert (len(label_names) == len(np.unique(label_names)))
    np.sort(label_names)
    return label_names

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: osmr/imgclsmob
Commit Name: 6df892110ca1b3412ba584d8af1887877afbfcfe
Time: 2018-11-15
Author: osemery@gmail.com
File Name: datasets/prep_oi4bb.py
Class Name:
Method Name: get_label_list


Project Name: rtavenar/tslearn
Commit Name: 798f945eadec05362ce8687cc83793fc8eab4d73
Time: 2019-08-20
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/svm.py
Class Name: TimeSeriesSVR
Method Name: fit


Project Name: civisanalytics/civisml-extensions
Commit Name: 1b1b8a48e4cd9614a7c0cd4dce30bd916e1fce7d
Time: 2018-01-05
Author: shoover@civisanalytics.com
File Name: civismlext/test/test_preprocessing.py
Class Name:
Method Name: test_check_sentinels


Project Name: dmlc/dgl
Commit Name: deb653f8dc9b396ba99d5c66e0658fb056f37a38
Time: 2018-11-22
Author: ly979@nyu.edu
File Name: python/dgl/graph.py
Class Name: DGLGraph
Method Name: pull


Project Name: bethgelab/foolbox
Commit Name: ba15e947cbc3d13c2c15c65fcc342f0683fcda1a
Time: 2018-09-03
Author: rusak@fzi.de
File Name: foolbox/attacks/adef_attack.py
Class Name: ADefAttack
Method Name: __call__