Skip to content

REF: define _convert_to_indexer in Loc #31585

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 1 commit into from
Feb 2, 2020

Conversation

jbrockmendel
Copy link
Member

_convert_to_indexer is overriden by iloc, so the version currently defined in LocationIndexer is only used in Loc. This moves it directly to Loc.

Also, since ix has been removed, we have an unnecessary level of the class hierarchy, so this merges NDFrameIndexer and LocationIndexer.

Follow-ups will move base class methods that are actually Loc-specific to Loc.

@jreback jreback added Clean Indexing Related to indexing on series/frames, not to indexes themselves labels Feb 2, 2020
@jreback jreback added this to the 1.1 milestone Feb 2, 2020
@jreback jreback merged commit 26329fc into pandas-dev:master Feb 2, 2020
@jreback
Copy link
Contributor

jreback commented Feb 2, 2020

thanks

@jbrockmendel jbrockmendel deleted the convert_to_indexer2 branch February 2, 2020 22:39
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