rendiamola una funzione grazie
This commit is contained in:
@@ -97,6 +97,7 @@ path_export_hourly = path_export.replace('.csv', '_hourly.csv')
|
||||
# Esporta il file orario
|
||||
df_hourly = export_hourly_pv_productivity(result_ac_energies_to_csv_df, path_export_hourly)
|
||||
|
||||
def genera_giornaliero():
|
||||
# Carica il file CSV orario
|
||||
df = pd.read_csv('files/gen_pv/output_gen_pv_hourly.csv', index_col=0, parse_dates=True)
|
||||
|
||||
@@ -167,7 +168,6 @@ fig.update_layout(
|
||||
xaxis_title="Ora",
|
||||
yaxis_title="Energia [kWh]"
|
||||
)
|
||||
|
||||
fig.show()
|
||||
|
||||
if joePlaying:
|
||||
|
||||
Reference in New Issue
Block a user