Skip to content

TST: raise InvalidIndexError with IntervalIndex.get_value and get_loc #33938

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 6 commits into from
May 9, 2020
Merged

TST: raise InvalidIndexError with IntervalIndex.get_value and get_loc #33938

merged 6 commits into from
May 9, 2020

Conversation

primaprashant
Copy link
Contributor

@primaprashant primaprashant commented May 2, 2020

ensure InvalidIndexError is raised when non-scalar is passed as key to
get_loc and get_value methods for IntervalIndex

ensure InvalidIndexError is raise when non-scalar is passed as key to
get_loc and get_value methods for IntervalIndex
@jschendel jschendel added Indexing Related to indexing on series/frames, not to indexes themselves Interval Interval data type Testing pandas testing functions or related to the test suite labels May 5, 2020
@jschendel jschendel added this to the 1.1 milestone May 5, 2020
@jreback jreback merged commit c4eb840 into pandas-dev:master May 9, 2020
@jreback
Copy link
Contributor

jreback commented May 9, 2020

thanks @prashant616

@primaprashant primaprashant deleted the test-interval-index-get-value branch May 10, 2020 01:54
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 Interval Interval data type Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

REF: IntervalIndex.get_value partial slicing
4 participants