Skip to content

dont skip keyerror for IntervalIndex #31936

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 3 commits into from
Feb 22, 2020

Conversation

jbrockmendel
Copy link
Member

cc @jschendel this is speculative that this is the desired behavior.

This is our only use of Index.is_interval()

@jreback jreback added Error Reporting Incorrect or improved errors from pandas Interval Interval data type labels Feb 13, 2020
@jbrockmendel jbrockmendel added the Indexing Related to indexing on series/frames, not to indexes themselves label Feb 19, 2020
@jreback jreback added this to the 1.1 milestone Feb 22, 2020
@jreback
Copy link
Contributor

jreback commented Feb 22, 2020

no tests changed? or just running a previously skipped a skipped test? rebase, lgtm.

@jbrockmendel
Copy link
Member Author

no tests changed?

No tests affected. Found this while trying to shave off corner cases in indexing, and it isn't clear that this is needed.

@jreback
Copy link
Contributor

jreback commented Feb 22, 2020

lgtm. merge on green.

@jbrockmendel jbrockmendel merged commit b2ebd5a into pandas-dev:master Feb 22, 2020
@jbrockmendel jbrockmendel deleted the less-interval branch February 22, 2020 17:53
roberthdevries pushed a commit to roberthdevries/pandas that referenced this pull request Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Reporting Incorrect or improved errors from pandas Indexing Related to indexing on series/frames, not to indexes themselves Interval Interval data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants