cc90537678b828c9e3122cbe1d39145b49a35344,featuretools/entityset/entityset.py,EntitySet,add_last_time_indexes,#EntitySet#,1004
Before Change
entity.last_time_index = lti_df["last_time"]
else:
lti_df["last_time_old"] = entity.last_time_index
entity.last_time_index = lti_df.max(axis=1).dropna()
entity.last_time_index.name = "last_time"
explored.add(entity.id)
After Change
if entity.has_time_index():
lti = entity.df[entity.time_index].copy()
else:
lti = entity.df[entity.index].copy()
lti[:] = None
entity.set_last_time_index(lti)
if entity.id in children:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: Featuretools/featuretools
Commit Name: cc90537678b828c9e3122cbe1d39145b49a35344
Time: 2018-01-18
Author: 5392142+rwedge@users.noreply.github.com
File Name: featuretools/entityset/entityset.py
Class Name: EntitySet
Method Name: add_last_time_indexes
Project Name: librosa/librosa
Commit Name: 4d78e7c936be168db70c65276915688a131ef193
Time: 2015-02-17
Author: brian.mcfee@nyu.edu
File Name: librosa/display.py
Class Name:
Method Name: __axis_chroma
Project Name: facebookresearch/ParlAI
Commit Name: 6baa0504fe5a4062e23bb253bfd3e2519cf047d5
Time: 2019-08-02
Author: jju@fb.com
File Name: parlai/mturk/core/dev/mturk_manager.py
Class Name: MTurkManager
Method Name: _wait_for_task_expirations
Project Name: aleju/imgaug
Commit Name: a059ea8f1f60de1917f3566e6e523bc698777832
Time: 2019-10-14
Author: kontakt@ajung.name
File Name: imgaug/augmenters/geometric.py
Class Name: PiecewiseAffine
Method Name: _get_transformer