-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ERR: Index.shift() gives confusing error message when no DatetimeIndex #8038
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
this is a bug as the e.g.
|
|
yes, you can indeed 'misuse' the
but I don't really know what the use of this could be (just So maybe raising on a non-Datetime/PeriodIndex? BTW, what is best way to really shift an index? |
closed by #11211 |
Should
shift
be allowed at all when it is noDatetimeIndex
?The text was updated successfully, but these errors were encountered: