Skip to content

Commit 1cb75f9

Browse files
committed
'BUG14885'
1 parent dd9c585 commit 1cb75f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/core/indexing.py

+2
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,8 @@ def _handle_lowerdim_multi_index_axis0(self, tup):
944944
except TypeError:
945945
# slices are unhashable
946946
pass
947+
except KeyError:
948+
return self._get_label(tup, axis=self.axis)
947949
except Exception as e1:
948950
if isinstance(tup[0], (slice, Index)):
949951
raise IndexingError("Handle elsewhere")

0 commit comments

Comments
 (0)