Skip to content

Commit 30e7e7a

Browse files
committed
replace _constructor
1 parent 80a4c9c commit 30e7e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexes/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2914,7 +2914,7 @@ def map(self, arg, na_action=None):
29142914
names=names)
29152915

29162916
attributes['copy'] = False
2917-
return self._constructor(new_values, **attributes)
2917+
return Index(new_values, **attributes)
29182918

29192919
def isin(self, values, level=None):
29202920
"""

0 commit comments

Comments
 (0)