72ac0daa7bd60936eeb563b2c352c9a6631f50fc,featuretools/computational_backends/calculate_feature_matrix.py,,calculate_feature_matrix,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,38

Before Change


            cutoff_time.rename(columns={not_instance_id[0]: "time"}, inplace=True)
        if cutoff_time["time"].dtype == object:
            if (entityset.time_type == NumericTimeIndex and
                    cutoff_time["time"].dtype.name.find("int") == -1 and
                    cutoff_time["time"].dtype.name.find("float") == -1):
                raise TypeError("cutoff_time times must be numeric: try casting via pd.to_numeric(cutoff_time["time"])")
            elif (entityset.time_type == DatetimeTimeIndex and
                  cutoff_time["time"].dtype.name.find("time") == -1):

After Change


            raise TypeError("cutoff_time times must be numeric: try casting "
                            "via pd.to_numeric(cutoff_time["time"])")
    elif entityset.time_type == DatetimeTimeIndex:
        if cutoff_time["time"].dtype.name not in PandasTypes._pandas_datetimes:
            raise TypeError("cutoff_time times must be datetime type: try casting via pd.to_datetime(cutoff_time["time"])")
    assert (cutoff_time[["instance_id", "time"]].duplicated().sum() == 0), \
        "Duplicated rows in cutoff time dataframe."
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: Featuretools/featuretools
Commit Name: 72ac0daa7bd60936eeb563b2c352c9a6631f50fc
Time: 2019-01-29
Author: roy.wedge@gmail.com
File Name: featuretools/computational_backends/calculate_feature_matrix.py
Class Name:
Method Name: calculate_feature_matrix


Project Name: Theano/Theano
Commit Name: 02b76031f3bc76058771744eaf7159138bef5ba7
Time: 2016-11-03
Author: abergeron@gmail.com
File Name: theano/tensor/elemwise.py
Class Name: Elemwise
Method Name: grad


Project Name: IDSIA/sacred
Commit Name: 2699055db4c1f1957c1c5e457272369249ee2926
Time: 2017-06-28
Author: qwlouse@gmail.com
File Name: sacred/dependencies.py
Class Name:
Method Name: create_source_or_dep