18e929d7b2ba65112bf22cd1cc97d46c96e54401,featuretools/feature_base/feature_base.py,FeatureBase,__repr__,#FeatureBase#,173
Before Change
return self.primitive.number_output_features
def __repr__(self):
ret = "<Feature: %s>" % (self.get_name())
// encode for python 2
if type(ret) != str:
ret = ret.encode("utf-8")
return ret
def hash(self):
return hash(self.get_name() + self.entity.id)
After Change
return self.primitive.number_output_features
def __repr__(self):
return "<Feature: %s>" % (self.get_name())
def hash(self):
return hash(self.get_name() + self.entity.id)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: Featuretools/featuretools
Commit Name: 18e929d7b2ba65112bf22cd1cc97d46c96e54401
Time: 2019-10-07
Author: rwedge@featurelabs.com
File Name: featuretools/feature_base/feature_base.py
Class Name: FeatureBase
Method Name: __repr__
Project Name: Featuretools/featuretools
Commit Name: 18e929d7b2ba65112bf22cd1cc97d46c96e54401
Time: 2019-10-07
Author: rwedge@featurelabs.com
File Name: featuretools/variable_types/variable.py
Class Name: Datetime
Method Name: __repr__
Project Name: Featuretools/featuretools
Commit Name: 18e929d7b2ba65112bf22cd1cc97d46c96e54401
Time: 2019-10-07
Author: rwedge@featurelabs.com
File Name: featuretools/variable_types/variable.py
Class Name: Variable
Method Name: __repr__