Skip to content
Closed
Changes from all commits
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
2 changes: 1 addition & 1 deletion pandas/core/indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1525,7 +1525,7 @@ def _getitem_axis(self, key, axis=0):
# possibly convert a list-like into a nested tuple
# but don't convert a list-like of tuples
if isinstance(labels, MultiIndex):
if (not isinstance(key, tuple) and len(key) > 1 and
if (not isinstance(key, tuple) and len(key) and
not isinstance(key[0], tuple)):
if isinstance(key, ABCSeries):
# GH 14730
Expand Down