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 72f1b95 commit 1275feeCopy full SHA for 1275fee
pandas/core/indexes/multi.py
@@ -20,7 +20,7 @@
20
21
from pandas._libs import algos as libalgos, index as libindex, lib
22
from pandas._libs.hashtable import duplicated_int64
23
-from pandas._typing import AnyArrayLike, Label, Scalar
+from pandas._typing import AnyArrayLike, Label, Scalar, Shape
24
from pandas.compat.numpy import function as nv
25
from pandas.errors import InvalidIndexError, PerformanceWarning, UnsortedIndexError
26
from pandas.util._decorators import Appender, cache_readonly, doc
@@ -702,7 +702,7 @@ def array(self):
702
)
703
704
@property
705
- def shape(self):
+ def shape(self) -> Shape:
706
"""
707
Return a tuple of the shape of the underlying data.
708
0 commit comments