Skip to content

BUG: PeriodIndex.get_loc incorrectly raising ValueError instead of KeyError #36015

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 29 commits into from
Sep 1, 2020

Conversation

jbrockmendel
Copy link
Member

jbrockmendel and others added 26 commits August 20, 2020 21:19
@jreback jreback added Indexing Related to indexing on series/frames, not to indexes themselves Period Period data type labels Sep 1, 2020
@jreback jreback added this to the 1.2 milestone Sep 1, 2020
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine, just comments on the version that we push this.

@jreback jreback modified the milestone: 1.2 Sep 1, 2020
@jreback jreback merged commit bdd5d4c into pandas-dev:master Sep 1, 2020
@jbrockmendel jbrockmendel deleted the bugs-indexing-2 branch September 2, 2020 01:02
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
Indexing Related to indexing on series/frames, not to indexes themselves Period Period data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: PeriodIndex.get_loc should raise KeyError
4 participants