Skip to content

Commit

Permalink
✨ ENH Electricity Prices Page
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanTartarini1996 committed Sep 26, 2023
1 parent f2d93b0 commit 75372d9
Show file tree
Hide file tree
Showing 3 changed files with 304 additions and 35 deletions.
4 changes: 4 additions & 0 deletions epm/scraping_utils/elec_prices.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ def get_data(self) -> pd.DataFrame:
else:
pun_prices = pd.concat([hist_df, new_data], axis=0)

pun_prices.index = pd.to_datetime(pun_prices.index)
pun_prices.index = pun_prices.index.date

self.df = pun_prices

return self.df

def get_hist_data(self):
Expand Down
Loading

0 comments on commit 75372d9

Please sign in to comment.