Skip to content

Conversation

bluestarunderscore
Copy link
Contributor

This PR fixes the incorrect description of iloc and adds a brief comparison to loc to make the warning more clear:

"While loc supports two kinds of boolean indexing, iloc only supports indexing with a boolean array."

@mroeschke mroeschke added the Docs label Jan 2, 2025
@mroeschke mroeschke added this to the 3.0 milestone Jan 2, 2025
@mroeschke mroeschke merged commit 990474b into pandas-dev:main Jan 2, 2025
21 of 22 checks passed
@mroeschke
Copy link
Member

Thanks @bluestarunderscore

gmcrocetti pushed a commit to gmcrocetti/pandas that referenced this pull request Jan 3, 2025
…andas-dev#60501)

* Fix iloc wording error on indexing user guide page

* Update doc/source/user_guide/indexing.rst

---------

Co-authored-by: Matthew Roeschke <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants