Skip to content

BUG: Slicing DatetimeIndex with strings containing microseconds raising KeyError #39378

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 2 commits into from
Jan 25, 2021

Conversation

phofl
Copy link
Member

@phofl phofl commented Jan 24, 2021

Is there a reason not supporting milliseconds resolution when supporting microseconds?

@jreback jreback added Bug Indexing Related to indexing on series/frames, not to indexes themselves Datetime Datetime data dtype labels Jan 25, 2021
@jreback jreback added this to the 1.3 milestone Jan 25, 2021
@jreback
Copy link
Contributor

jreback commented Jan 25, 2021

hmm this is oddly failing the 3.9 build

@jreback
Copy link
Contributor

jreback commented Jan 25, 2021

can you merge master and let's see

@phofl
Copy link
Member Author

phofl commented Jan 25, 2021

Probably unrelated, this occurs every now and then. Merged master

@jreback jreback merged commit 56476d1 into pandas-dev:master Jan 25, 2021
@jreback
Copy link
Contributor

jreback commented Jan 25, 2021

thanks @phofl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Datetime Datetime data dtype Indexing Related to indexing on series/frames, not to indexes themselves
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: KeyError on slicing with datetime, when datetime contains microseconds
2 participants