Calculates various features from time series data, including autocorrelation, entropy, seasonality, stationarity, and trend-based metrics. Designed for time series classification and preprocessing. Current stable version is 0.4.5. Release cadence is irregular based on fixes and feature additions.
pip install tsfeaturesVerified import paths — ran on the pinned version, not inferred.
Compute default set of time series features on a single time series column.
Upgrade to >=0.1.0 and use the Tsfeatures class.
Ensure index is a pandas DatetimeIndex with a recognizable frequency (e.g., 'D', 'H'). If not needed, use `Tsfeatures(freq=1)` to treat as non-seasonal.
Install antropy: `pip install antropy` to get entropy-based features.
Pass frequency to Tsfeatures constructor: `tf = Tsfeatures(freq=24)`.