Skip to content

Commit

Permalink
prevent droping na data to keep the keys
Browse files Browse the repository at this point in the history
  • Loading branch information
doneachh committed Feb 1, 2024
1 parent 8c2b8af commit c19fca2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/prepare_energy_totals.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,4 @@ def calculate_end_values(df):
energy_totals["electricity services space"] = 0
energy_totals["electricity services water"] = 0

energy_totals = energy_totals.dropna(axis=1, how="all")

energy_totals.fillna(0).to_csv(snakemake.output.energy_totals)

0 comments on commit c19fca2

Please sign in to comment.