36ce3c300172390d702a614b5784332b8b56343a,featuretools/tests/primitive_tests/test_transform_features.py,,test_diff_single_value,#Any#,110
Before Change
def test_diff_single_value(es):
diff = Diff(es["stores"]["num_square_feet"], es["stores"][u"région_id"])
pandas_backend = PandasBackend(es, [diff])
df = pandas_backend.calculate_all_features(instance_ids=[5],
time_last=None)
assert df.shape[0] == 1
After Change
def test_diff_single_value(es):
diff = ft.Feature([es["stores"]["num_square_feet"], es["stores"][u"région_id"]], primitive=Diff)
pandas_backend = PandasBackend(es, [diff])
df = pandas_backend.calculate_all_features(instance_ids=[5],
time_last=None)
assert df.shape[0] == 1
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: Featuretools/featuretools
Commit Name: 36ce3c300172390d702a614b5784332b8b56343a
Time: 2019-01-18
Author: kmax12@gmail.com
File Name: featuretools/tests/primitive_tests/test_transform_features.py
Class Name:
Method Name: test_diff_single_value
Project Name: Featuretools/featuretools
Commit Name: 36ce3c300172390d702a614b5784332b8b56343a
Time: 2019-01-18
Author: kmax12@gmail.com
File Name: featuretools/tests/primitive_tests/test_transform_features.py
Class Name:
Method Name: test_arithmetic_of_transform
Project Name: Featuretools/featuretools
Commit Name: 36ce3c300172390d702a614b5784332b8b56343a
Time: 2019-01-18
Author: kmax12@gmail.com
File Name: featuretools/tests/primitive_tests/test_transform_features.py
Class Name:
Method Name: test_diff