Time Series Analysis, Data Science, Python, Weather, Statistics.
period equal 24, since we are dealing with hourly data: vars = {'t2m': 'Air Temperature', 'tp': 'Total Precipitation', 'sp': 'Surface Pressure', 'ssr': 'Surface Net Solar Radiation'} for var in df.columns: result = sm.tsa.seasonal_decompose(df[var], model='additive', period = 24) results_df =