c69c32722ed0f8021b298055b86fa7ac487d9ae6,featuretools/feature_base/feature_base.py,FeatureBase,get_feature_names,#FeatureBase#,90

Before Change


            names = [self.get_name()]
        else:
            names = self.get_names()
        return names

    def get_function(self):
        return self.primitive.get_function()

After Change


                self._names = [self.get_name()]
            else:
                self._names = self.generate_names()
                if self.get_name() != self.generate_name():
                    self._names = [self.get_name() + "[{}]".format(i) for i in range(len(self._names))]
        return self._names

    def get_function(self):
        return self.primitive.get_function()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: Featuretools/featuretools
Commit Name: c69c32722ed0f8021b298055b86fa7ac487d9ae6
Time: 2020-06-24
Author: 34871276+tuethan1999@users.noreply.github.com
File Name: featuretools/feature_base/feature_base.py
Class Name: FeatureBase
Method Name: get_feature_names


Project Name: mathics/Mathics
Commit Name: 51b2e962f4891e7563543db5560e2bdc9a20bd6d
Time: 2016-08-05
Author: 16sn6uv@gmail.com
File Name: mathics/builtin/exptrig.py
Class Name: Pi
Method Name: apply_N


Project Name: mathics/Mathics
Commit Name: 51b2e962f4891e7563543db5560e2bdc9a20bd6d
Time: 2016-08-05
Author: 16sn6uv@gmail.com
File Name: mathics/builtin/exptrig.py
Class Name: E
Method Name: apply_N