18f30454593e206a538858287c45bd3ed6c1da37,featuretools/entityset/entityset.py,EntitySet,concat,#EntitySet#Any#Any#,898
Before Change
to_sort = [entity.index]
if entity.time_index:
to_sort = [entity.time_index, entity.index]
combined_df.sort_values(to_sort, inplace=True)
combined_es[entity.id].update_data(combined_df)
for r in combined_es.relationships:
After Change
combined_df.drop_duplicates(columns, inplace=True)
if entity.time_index:
combined_df.sort_values([entity.time_index, entity.index], inplace=True)
else:
combined_df.sort_index(inplace=True)
combined_es[entity.id].update_data(combined_df)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances Project Name: Featuretools/featuretools
Commit Name: 18f30454593e206a538858287c45bd3ed6c1da37
Time: 2018-05-22
Author: benjaminschreck93@gmail.com
File Name: featuretools/entityset/entityset.py
Class Name: EntitySet
Method Name: concat
Project Name: ClimbsRocks/auto_ml
Commit Name: 462d31c615671a48dcac9d77e6de1bc360b31fee
Time: 2017-06-25
Author: climbsbytes@gmail.com
File Name: auto_ml/predictor.py
Class Name: Predictor
Method Name: print_results
Project Name: pandas-dev/pandas
Commit Name: 3cb6ee8f93b805d0cf8f7896b455e57632de9840
Time: 2020-11-12
Author: jbrockmendel@gmail.com
File Name: pandas/tests/series/test_dtypes.py
Class Name: TestSeriesDtypes
Method Name: test_astype_categorical_to_other