Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

BUG: Fix return type of loc/iloc #61054

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 19 commits into from
Jun 30, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Reverse axis order
  • Loading branch information
sanggon6107 committed Mar 17, 2025
commit 74eb3564e9a14caab0c9a5a8d2cf9bd8fb1022ec
2 changes: 1 addition & 1 deletion 2 pandas/core/indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ def _getitem_lowerdim(self, tup: tuple):
else:
enum = zip(range(len(tup) - 1, -1, -1), reversed(tup))
for i, key in enum:
if is_label_like(key):
if is_label_like(key) or is_list_like(key):
# We don't need to check for tuples here because those are
# caught by the _is_nested_tuple_indexer check above.
section = self._getitem_axis(key, axis=i)
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.