Skip to content

REF: make Series/DataFrame _slice always positional #31854

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 2 commits into from
Feb 11, 2020

Conversation

jbrockmendel
Copy link
Member

ATM we have a loc/iloc kwarg that NDFrame._slice (which is in effect DataFrame._slice) ignores and always slices positionally. This makes Series._slice always slice positionally too.

@WillAyd WillAyd added Clean Indexing Related to indexing on series/frames, not to indexes themselves labels Feb 11, 2020
@WillAyd WillAyd added this to the 1.1 milestone Feb 11, 2020
@WillAyd WillAyd merged commit 3060972 into pandas-dev:master Feb 11, 2020
@WillAyd
Copy link
Member

WillAyd commented Feb 11, 2020

Thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the slice branch February 11, 2020 15:44
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