Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Set index after adding ancestor relationship variables #668
This fixes a bug where we essentially reset the dataframe index after adding ancestor variables. This breaks merging later when trying to create aggregation features because we merge on the index
This only occurs when you stack to a certain depth because you need to be creating features for an entity whose dataframe has had ancestor relationship variables added to it.
The test cases uses a string index to avoid the situation where the reset index is masked because it is the same as the existing index.
@@ Coverage Diff @@ ## master #668 +/- ## ========================================== + Coverage 97.44% 97.44% +<.01% ========================================== Files 118 118 Lines 9618 9634 +16 ========================================== + Hits 9372 9388 +16 Misses 246 246