Skip to content

Commit 6183b93

Browse files
committed
fix comment
1 parent 1856cef commit 6183b93

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/core/base.py

+3
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,9 @@ def _map_values(self, mapper, na_action=None):
890890
if isinstance(arr, ExtensionArray):
891891
return arr.map(mapper, na_action=na_action)
892892

893+
# Argument 1 to "map_array" has incompatible type
894+
# "Union[IndexOpsMixin, ndarray[Any, Any]]";
895+
# expected "Union[ExtensionArray, ndarray[Any, Any]]
893896
return algorithms.map_array(
894897
arr, mapper, na_action=na_action # type: ignore[arg-type]
895898
)

0 commit comments

Comments
 (0)