Skip to content

Commit

Permalink
🔥 Remove old cleanup
Browse files Browse the repository at this point in the history
done
  • Loading branch information
jh0ker committed Nov 8, 2023
1 parent 81b27ed commit fc929eb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions ddj_cloud/scrapers/talsperren/talsperren.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,7 @@

def _cleanup_old_data(df: pd.DataFrame) -> pd.DataFrame:
### CLEANUP ###
# Remove extra column from past runs
df.drop(columns=["fill_ratio"], errors="ignore", inplace=True)

# Rename reservoirs
from .federations.wupper import WupperFederation

df["name"] = df["name"].replace(WupperFederation.renames)

...
return df


Expand Down

0 comments on commit fc929eb

Please sign in to comment.