Darts is a Python time series library designed for forecasting, anomaly detection, and the preprocessing of univariate and multivariate temporal data. It serves as a comprehensive framework for training and evaluating a wide range of statistical, machine learning, and deep learning models to predict future numerical values.
The toolkit is distinguished by its support for global time series modeling, allowing a single model to be trained across multiple different series to leverage shared patterns. It also features a hierarchical time series manager to ensure consistency between aggregate and disaggregate forecast totals, and a probabilistic forecasting system that generates uncertainty intervals rather than single point estimates.
The library covers a broad surface of capabilities, including data engineering via dynamic time warping, noise reduction filtering, and automated covariate encoding. It provides extensive model evaluation tools for historical backtesting and forecast ensembling, as well as optimization techniques such as foundation model fine-tuning and transfer learning.
The system maintains backend-agnostic data interoperability, enabling the conversion of time series objects between pandas, polars, numpy, pyarrow, and xarray formats.