Timeseries Data Part 1: Darts and Streamlit

Streamlit + Darts Demo live

I wanted to explore the claim of "Time Series Made Easy in Python" by the Darts library.

I knew from their pydata talk that making something interactive around the training API would be straightforward.

Adding interactive web elements with Streamlit to the Darts documentation example led to this quick demo project that lets you explore any univariate Timeseries CSV and make forecasts with Exponential Smoothing. This version will resample and sum values to get to monthly samples (or change to weekly / quarterly / etc); there are other Pandas resampling aggregation options though!

See the app script source

Free CSV Entry Direct Link

darts demo on example data darts demo on custom data

Next steps on this would be:

  • Series / Data info and timeseries attributes
  • Exposing configuration options for the model
  • Adding other model options from Darts
  • Backtest / Historical Forecast view
  • Grid search result view