Skip to content

Commit 2fa02aa

Browse files
committed
fix comment
1 parent b84402b commit 2fa02aa

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
@@ -894,6 +894,9 @@ def _map_values(self, mapper, na_action=None, convert: bool = True):
894894
if isinstance(arr, ExtensionArray):
895895
return arr.map(mapper, na_action=na_action)
896896

897+
# Argument 1 to "map_array" has incompatible type
898+
# "Union[IndexOpsMixin, ndarray[Any, Any]]";
899+
# expected "Union[ExtensionArray, ndarray[Any, Any]]
897900
return algorithms.map_array(
898901
arr, mapper, na_action=na_action, convert=convert # type: ignore[arg-type]
899902
)

0 commit comments

Comments
 (0)