Skip to content

REF: dispatch Series.__setitem__ to loc/iloc, remove redundant helpers #33643

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
Apr 19, 2020

Conversation

jbrockmendel
Copy link
Member

This will entail some extra overhead, but we get a) de-duplication and b) the structure of __setitem__ comes to parallel the structure of __getitem__, which i find helpful grok-wise.

Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

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

lgtm

@WillAyd WillAyd added the Clean label Apr 19, 2020
@WillAyd WillAyd added this to the 1.1 milestone Apr 19, 2020
@jreback jreback added the Indexing Related to indexing on series/frames, not to indexes themselves label Apr 19, 2020
@jreback jreback merged commit 4071c3b into pandas-dev:master Apr 19, 2020
@jreback
Copy link
Contributor

jreback commented Apr 19, 2020

prefer cleaner code to small perf diff always, thanks!

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.

3 participants