Skip to content

Commit

Permalink
Reset index
Browse files Browse the repository at this point in the history
  • Loading branch information
olejandro committed Dec 21, 2024
1 parent a4147cd commit ecc9274
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xl2times/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -3176,6 +3176,7 @@ def apply_final_fixup(

# Control application of i/e rules from syssettings
if not config.ie_override_in_syssettings:
df = df.reset_index(drop=True)
# Remove i/e rules from syssettings if present in BASE and SubRES
i = (df["year"] == 0) & (
df["module_type"].isin(["base", "syssettings", "subres"])
Expand Down

0 comments on commit ecc9274

Please sign in to comment.