Skip to content

Commit ca62d46

Browse files
committed
fix for pandas-dev#60695 fix Series constructor dropping key levels when keys have varying entry counts
1 parent 30b2750 commit ca62d46

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/core/indexes/multi.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
Generator,
77
Hashable,
88
Iterable,
9+
Mapping,
910
Sequence,
1011
List,
1112
)
@@ -17,6 +18,7 @@
1718
Literal,
1819
cast,
1920
ArrayLike,
21+
overload,
2022
)
2123
import warnings
2224

@@ -29,7 +31,7 @@
2931
index as libindex,
3032
lib,
3133
)
32-
from pandas._libs.hashtable import duplicated
34+
from pandas._libs.hashtable import duplicated, duplicated_int64
3335
from pandas._typing import (
3436
AnyAll,
3537
AnyArrayLike,

0 commit comments

Comments
 (0)