rendiamola una funzione grazie

This commit is contained in:
2025-06-23 12:23:25 +02:00
parent 2fe8df9db2
commit 0e82f4b084

View File

@@ -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: