Skip to content

Commit dc44901

Browse files
allow None as name in multi-index
1 parent a7a1410 commit dc44901

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/indexes/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4516,8 +4516,8 @@ def _join_multi(self, other: Index, how: JoinHow):
45164516
from pandas.core.reshape.merge import restore_dropped_levels_multijoin
45174517

45184518
# figure out join names
4519-
self_names_list = list(com.not_none(*self.names))
4520-
other_names_list = list(com.not_none(*other.names))
4519+
self_names_list = list(self.names)
4520+
other_names_list = list(other.names)
45214521
self_names_order = self_names_list.index
45224522
other_names_order = other_names_list.index
45234523
self_names = set(self_names_list)

0 commit comments

Comments
 (0)