General174 commited on
Commit
b38ba51
·
1 Parent(s): d408b60

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -283,7 +283,7 @@ with pd.ExcelWriter(output, engine='xlsxwriter') as writer:
283
  df_new_capacities.to_excel(writer, sheet_name='Capacities', index=False)
284
  df_production.to_excel(writer, sheet_name='Production', index=False)
285
  df_charging.to_excel(writer, sheet_name='Charging', index=False)
286
- D_t.to_excel(writer, sheet_name='Demand', index=False)
287
  df_curtailment.to_excel(writer, sheet_name='Curtailment', index=False)
288
  df_Co2_price.to_excel(writer, sheet_name='CO2_Price', index=False)
289
 
 
283
  df_new_capacities.to_excel(writer, sheet_name='Capacities', index=False)
284
  df_production.to_excel(writer, sheet_name='Production', index=False)
285
  df_charging.to_excel(writer, sheet_name='Charging', index=False)
286
+ D_t.to_dataframe().reset_index().to_excel(writer, sheet_name='Demand', index=False)
287
  df_curtailment.to_excel(writer, sheet_name='Curtailment', index=False)
288
  df_Co2_price.to_excel(writer, sheet_name='CO2_Price', index=False)
289