You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should PeriodIndex pass through infer_freq and return freqstr or should this be the user's problem? Either is a simple fix. The latter should just have a better error message. Right now
from pandas.tseries.api import infer_freq
from pandas import PeriodIndex
infer_freq(PeriodIndex(start="1/1/1990", periods=20, freq="M"))
The text was updated successfully, but these errors were encountered:
Yes. Should it be? I.e., trivially return freqstr since you don't need to do any inferring or have a better error message than the one about converting Int64Index to Datetime. Use case is for time series models in statsmodels. Should we handle it or should infer_freq handle it? (I've already committed a fix, so I don't really care either way.)
Should PeriodIndex pass through infer_freq and return freqstr or should this be the user's problem? Either is a simple fix. The latter should just have a better error message. Right now
The text was updated successfully, but these errors were encountered: