Skip to content

REF: call _convert_scalar_indexer upfront in Series.__getitem__ #31655

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 5, 2020

Conversation

jbrockmendel
Copy link
Member

This simplifies a try/except block and moves us towards being able to tighten what we accept in _convert_scalar_indexer among others. I think we'll soon be able to get rid of the kludge on L866/868.

@jbrockmendel jbrockmendel added Clean Indexing Related to indexing on series/frames, not to indexes themselves labels Feb 4, 2020
@jreback jreback added this to the 1.1 milestone Feb 5, 2020
@jreback
Copy link
Contributor

jreback commented Feb 5, 2020

rebase just to make sure didn't break things as merged in odd order tonight (merge on green).

@jbrockmendel
Copy link
Member Author

green

@jreback jreback merged commit aa47971 into pandas-dev:master Feb 5, 2020
@jbrockmendel jbrockmendel deleted the ref-scalar-indexers branch February 5, 2020 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Indexing Related to indexing on series/frames, not to indexes themselves
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants