Removed deprecated pandas method
This commit is contained in:
parent
7f21cc22c3
commit
e692f99316
|
@ -215,7 +215,7 @@ class HeatPumpExport:
|
|||
|
||||
data = [electricity_df, fossil_df]
|
||||
df = pd.concat(data, axis=1)
|
||||
df = df.append(df.agg(['sum']))
|
||||
df = pd.concat([df, df.agg(['sum'])])
|
||||
s = pd.Series(["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec", "Total"])
|
||||
df = df.set_index([s])
|
||||
df.to_csv(self._output_path)
|
||||
|
|
Loading…
Reference in New Issue
Block a user