Skip to content

Commit

Permalink
chore: todo logging
Browse files Browse the repository at this point in the history
  • Loading branch information
vividfog committed Dec 25, 2024
1 parent b1ff85b commit ed90281
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nordpool_predict_fi.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ def get_mandatory_env_variable(name):
# Print the head of the DataFrame
# print(df_full.head(48))

# Keep the original logic of setting index:
df_full.set_index('timestamp', inplace=True)
# print(df_full.head(48))

# Minimal fix: temporarily restore "timestamp" column so update_holidays() can find it
# Temporarily restore "timestamp" column so update_holidays() can find it
# TODO: Refactor to remove double set_index() calls
df_full.reset_index(inplace=True)
df_full = update_holidays(df_full)
# Restore the index
Expand Down

0 comments on commit ed90281

Please sign in to comment.