Skip to content

Conversation

@jbrockmendel
Copy link
Member

It is overriden in iLoc, so by putting it directly in Loc we can simplify bits of it that check self.name and keep only the self.name == "loc" branches. This lets us get rid of a bit of dead code (L1638-L1642).

Most of the diff is misleading; it is only the one method that is moved, with a placeholder kept in NDFrameIndexer

@jreback jreback added Indexing Related to indexing on series/frames, not to indexes themselves Refactor Internal refactoring of code labels Feb 1, 2020
@jreback jreback added this to the 1.1 milestone Feb 1, 2020
@jreback jreback merged commit d4d1e32 into pandas-dev:master Feb 1, 2020
@jreback
Copy link
Contributor

jreback commented Feb 1, 2020

great!

@jbrockmendel jbrockmendel deleted the convert_to_indexer branch February 1, 2020 22:40
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 Refactor Internal refactoring of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants