Data Science, Machine Learning, Time Series Analysis, Analytics, Linear Regression.
do is break down the data into its constituent components, i.e., trend, seasonality, and residual, using Time-series Decomposition. import statsmodels.api as sm # We use 'additive' model as the seasonality seemingly doesn't magnify over time # we added 6 periods of extrapolation so the trend