69f27051dc61a01d80f96bcf1a8806e982039f1a,auto_ml/predictor.py,Predictor,make_sub_x_and_y_test,#Predictor#,273

Before Change


        clean_y = []
        for row in X_test:
            y_val = row.pop(sub_name, None)
            if y_val not in vals_to_ignore:
                clean_X_test.append(row)
                clean_y.append(y_val)
        return clean_X_test, clean_y

After Change


        clean_y = []
        for row in X_test:
            y_val = row.pop(sub_name, None)
            if y_val not in vals_to_ignore and pd.notnull(y_val):
                clean_X_test.append(row)
                clean_y.append(y_val)
        return clean_X_test, clean_y
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ClimbsRocks/auto_ml
Commit Name: 69f27051dc61a01d80f96bcf1a8806e982039f1a
Time: 2016-10-07
Author: climbsbytes@gmail.com
File Name: auto_ml/predictor.py
Class Name: Predictor
Method Name: make_sub_x_and_y_test


Project Name: chainer/chainercv
Commit Name: 977564ae78e9db9b574404cea4d8cf85237e983f
Time: 2018-05-01
Author: Hakuyume@users.noreply.github.com
File Name: chainercv/utils/link.py
Class Name:
Method Name: prepare_link_initialization


Project Name: evilsocket/pwnagotchi
Commit Name: 52af8391317bfb655b0c934988b6c2a2afbe548b
Time: 2019-10-07
Author: evilsocket@gmail.com
File Name: pwnagotchi/plugins/default/grid.py
Class Name:
Method Name: on_internet_available