Skip to content

Conversation

@jbrockmendel
Copy link
Member

Allows for a nice cleanup in _setitem_with_indexer. Note this will conflict with #31887; the order doesn't matter.

@jbrockmendel jbrockmendel changed the title BIG: fix length_of_indexer with boolean mask BUG: fix length_of_indexer with boolean mask Feb 12, 2020
@jbrockmendel jbrockmendel added the Indexing Related to indexing on series/frames, not to indexes themselves label Feb 12, 2020
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a bug fix? (the OP was)

@jbrockmendel
Copy link
Member Author

is this a bug fix? (the OP was)

Only sorta-kinda. The current behavior is wrong (assuming im correctly interpreting the desired behavior as "give the expected length of obj[indexer]"), but AFAICT nothing user-facing.

@jbrockmendel
Copy link
Member Author

gentle ping (for this and #31887). i think ive got a handle on the brokenness of _setitem_with_indexer and would like to get these simplications in before ripping apart whats left

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

length_of_indexer method is not support boolean array indexer.

2 participants