Skip to content

DOC: Add behavior for Index argument in DataFrame.loc #38109

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
Nov 29, 2020

Conversation

hongshaoyang
Copy link
Contributor

@@ -332,6 +333,14 @@ def loc(self) -> "_LocIndexer":
max_speed shield
sidewinder 7 8

Index:
Copy link
Contributor

Choose a reason for hiding this comment

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

can you indicate that this is the same as a reindex

@jreback jreback added Docs Indexing Related to indexing on series/frames, not to indexes themselves labels Nov 28, 2020
@jreback jreback added this to the 1.2 milestone Nov 29, 2020
@jreback jreback merged commit eaa45cf into pandas-dev:master Nov 29, 2020
@jreback
Copy link
Contributor

jreback commented Nov 29, 2020

thanks @hongshaoyang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs Indexing Related to indexing on series/frames, not to indexes themselves
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOC: .loc behavior undocumented for Index argument
2 participants