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 cabdc3a commit b2d4312Copy full SHA for b2d4312
pandas-stubs/core/indexes/multi.pyi
@@ -21,6 +21,7 @@ from pandas._typing import (
21
Dtype,
22
DtypeArg,
23
HashableT,
24
+ ListLike,
25
MaskType,
26
np_ndarray_anyint,
27
np_ndarray_bool,
@@ -29,8 +30,8 @@ from pandas._typing import (
29
30
class MultiIndex(Index[Any]):
31
def __new__(
32
cls,
- levels: SequenceNotStr[SequenceNotStr[Hashable] | AnyArrayLike] = ...,
33
- codes: SequenceNotStr[SequenceNotStr[int]] = ...,
+ levels: SequenceNotStr[ListLike] = ...,
34
+ codes: SequenceNotStr[ListLike] = ...,
35
sortorder: int | None = ...,
36
names: SequenceNotStr[Hashable] = ...,
37
copy: bool = ...,
0 commit comments