Skip to content

BUG: DatetimeIndex.shift(1) with empty index #36691

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

Merged
merged 4 commits into from
Sep 30, 2020

Conversation

jbrockmendel
Copy link
Member

@jreback jreback added this to the 1.2 milestone Sep 30, 2020
@jreback jreback added Index Related to the Index class or subclasses Datetime Datetime data dtype labels Sep 30, 2020
@jreback jreback merged commit 78bca00 into pandas-dev:master Sep 30, 2020
@jreback
Copy link
Contributor

jreback commented Sep 30, 2020

thanks

@jbrockmendel jbrockmendel deleted the bugs branch September 30, 2020 02:42
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype Index Related to the Index class or subclasses
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calling shift(n != 0) on an empty DatetimeIndex raises an IndexError
2 participants