some discussion over at pandas: pandas-dev/pandas#7922
Basically pandas 0.14 fixed a bug with DatetimeIndex's raising an AttributeError if you
tried to access its freqstr attribute when it doesn't have a frequency.
The tests previously relied on having the freqstr attribute implying that freqstr was not None.
TST: fix _infer_freq for pandas .14+ compat
pandas 0.14 fixed a bug with DatetimeIndex's
freqstr attribute. Previously relied on
having the freqstr attribute implying that freqstr
was not none.
Coverage increased (+0.0%) when pulling 14e293d on TomAugspurger:infer_freq_pandas_break into 8709f00 on statsmodels:master.
fix looks short, just to know where to make the change.
@TomAugspurger Thanks, that relieves Skipper from fixing problems with pandas compatibility..
Do you know if this might cause any problems with older versions of pandas. TravisCI is green, so it should be fine with the tested versions.
@jseabold Any opinion?
I would just merge this and see whether it fixes the problems on python-xy ubuntu testing.
Since it's fixing failing tests, test coverage should be fine.
@TomAugspurger Thank you
We'll see tomorrow whether python-xy is fine.
very good all freq test failures are gone.
(now we just have categorical.labels incompatibility with pandas left )