Overview of pytimetk workflows and APIs
masterpytimetk provides a unified API for time-series analysis that works with both pandas and Polars (and optionally NVIDIA cudf for GPU acceleration).
Core Workflows
| Workflow | Key API Methods | Description |
|---|---|---|
| Visualization & Diagnostics | plot_timeseries, plot_stl_diagnostics, plot_time_series_boxplot, theme_plotly_timetk | Interactive Plotly charts and STL faceting. |
| Time-aware Aggregations | summarize_by_time, apply_by_time, pad_by_time | Resampling, rolling up, and padding missing rows. |
| Feature Engineering | augment_timeseries_signature, augment_rolling, augment_wavelet, feature_store | Calendar signatures, rolling windows, and wavelets. |
| Anomaly Workflows | anomalize, plot_anomalies, plot_anomalies_decomp, plot_anomalies_cleaned | Detect, diagnose, and visualize anomalies. |
| Finance & Regimes | augment_regime_detection, augment_macd | HMM-based regime detection and financial indicators. |
| Polars-native | .tk accessor on pl.DataFrame | Use engine="polars" to stay within the Polars ecosystem. |
| Production (Beta) | FeatureStore, GPU acceleration | Caching transforms and RAPIDS/GPU support. |