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 7d695a0 commit ada0c74Copy full SHA for ada0c74
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[np.ndarray, ...]:
+ def levels(self) -> tuple[Index, ...]:
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