f80b5ae1f55a979e24fd8afcea2c1fab280b0c70,featuretools/computational_backends/pandas_backend.py,PandasBackend,calculate_all_features,#PandasBackend#Any#Any#Any#Any#Any#Any#Any#,46

Before Change


            df = df.append(default_df, sort=True)

        df.index.name = self.entityset[self.target_eid].index
        return df[[feat.get_name() for feat in self.features]]

    def generate_default_df(self, instance_ids, extra_columns=None):
        index_name = self.features[0].entity.index

After Change


            df = df.append(default_df, sort=True)

        df.index.name = self.entityset[self.target_eid].index
        column_list = []
        for feat in self.features:
            column_list.extend(feat.get_feature_names())
        return df[column_list]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: Featuretools/featuretools
Commit Name: f80b5ae1f55a979e24fd8afcea2c1fab280b0c70
Time: 2019-01-18
Author: roy.wedge@gmail.com
File Name: featuretools/computational_backends/pandas_backend.py
Class Name: PandasBackend
Method Name: calculate_all_features


Project Name: Featuretools/featuretools
Commit Name: f80b5ae1f55a979e24fd8afcea2c1fab280b0c70
Time: 2019-01-18
Author: roy.wedge@gmail.com
File Name: featuretools/synthesis/encode_features.py
Class Name:
Method Name: encode_features


Project Name: Featuretools/featuretools
Commit Name: f80b5ae1f55a979e24fd8afcea2c1fab280b0c70
Time: 2019-01-18
Author: roy.wedge@gmail.com
File Name: featuretools/computational_backends/pandas_backend.py
Class Name: PandasBackend
Method Name: generate_default_df