Heiko Onnen
Jan 23, 2022

--

You’ll need to group the hourly rows in the source dataframe, using frequency “D(aily)”.

Darts can summarize time series, but it’s easier to process all the columns in the source dataframe in one go, using pandas. Like:

df2.reset_index(inplace=True)

df2 = df2.groupby(pd.Grouper(key=”time”, freq=”D”)).mean()

--

--