Repository navigation
BUG: TSA models if date index without known frequency - #3113
Conversation
|
The underlying issue is now fixed in Pandas (pandas-dev/pandas#13672), but the shim is probably still necessary. |
54a07da to
38906b0
Compare
| from pandas import version | ||
| if version.version < '0.14': | ||
| raise NotImplementedError('Nanosecond index not available in' | ||
| ' Pandas < 0.14') |
There was a problem hiding this comment.
This looks kind of like a hack, but I have not been able to find a simple way to test for the presence of the nanosecond bug itself. if anyone has a better way, that would be great.
|
I think this is going to come back green (and backport version too hopefully), in which case I'm ready to merge. Note: coverage has to decrease here, because some of the new lines are not accessible when pandas < 0.14, and the coverage machine is pandas == 0.13. It would be good for someone else to take a quick look (it's only a few lines of code) to make sure that I'm not relying on something (like |
|
I'm looking forward to getting this PR done :) so I will merge this and its backport (#3175) tomorrow unless there are concerns. |
nanosecond frequency.
|
I changed the code to use |
Closes #3068.
Puts a shim in to allow correctly creating the
DatetimeIndexin the nanosecond case.