Data Science, Simulation, Deep Dives, Hands On Tutorials, Product Analytics.
next step is prediction. First, we need to create a future data frame specifying the number of periods and their frequency (in our case, weekly). Then, we need to call the predict function. future = m.make_future_dataframe(periods= 52, freq = 'W') forecast_df = m.predict(future)