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 fc13279 commit 149236aCopy full SHA for 149236a
pandas/core/indexes/multi.py
@@ -840,7 +840,7 @@ def size(self) -> int:
840
# Levels Methods
841
842
@cache_readonly
843
- def levels(self) -> tuple[Index, ...]:
+ def levels(self) -> tuple:
844
# Use cache_readonly to ensure that self.get_locs doesn't repeatedly
845
# create new IndexEngine
846
# https://github.com/pandas-dev/pandas/issues/31648
0 commit comments