statsmodels.tsa.deterministic.Seasonality.from_index¶
- classmethod Seasonality.from_index(index)[source]¶
Construct a seasonality directly from an index using its frequency.
- Parameters:¶
- index{
DatetimeIndex
,PeriodIndex
} An index with its frequency (freq) set.
- index{
- Returns:¶
Seasonality
The initialized Seasonality instance.
Last update:
Oct 03, 2024