Skip to content

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