Using statsmodels.seasonal_decompose() without DatetimeIndex but with Known Frequency
问题 I have a time-series signal I would like to decompose in Python, so I turned to statsmodels.seasonal_decompose(). My data has frequency of 48 (half-hourly). I was getting the same error as this questioner, where the solution was to change from an Int index to a DatetimeIndex. But I don't know the actual dates/times my data is from. In this github thread, one of the statsmodels contributors says that "In 0.8, you should be able to specify freq as keyword argument to override the index." But