We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2e29c0 commit 74eb356Copy full SHA for 74eb356
pandas/core/indexing.py
@@ -1073,7 +1073,7 @@ def _getitem_lowerdim(self, tup: tuple):
1073
else:
1074
enum = zip(range(len(tup) - 1, -1, -1), reversed(tup))
1075
for i, key in enum:
1076
- if is_label_like(key):
+ if is_label_like(key) or is_list_like(key):
1077
# We don't need to check for tuples here because those are
1078
# caught by the _is_nested_tuple_indexer check above.
1079
section = self._getitem_axis(key, axis=i)
0 commit comments