Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@BenoitDoyon
Created July 30, 2019 18:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BenoitDoyon/9f8b52df32e3126063097d5a9a7cc809 to your computer and use it in GitHub Desktop.
Save BenoitDoyon/9f8b52df32e3126063097d5a9a7cc809 to your computer and use it in GitHub Desktop.
df = pd.DataFrame(input)
prophet = Prophet()
prophet.fit(df)
future = prophet.make_future_dataframe(periods=2, freq='M')
return prophet.predict(future)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment