Skip to content

Commit 105d92b

Browse files
committed
added to_numpy() call
1 parent c9f47ff commit 105d92b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/arrays/arrow/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1489,7 +1489,7 @@ def map(self, mapper, na_action: Literal["ignore"] | None = None):
14891489
datelike = self._maybe_convert_datelike_array()
14901490
temp = Series(datelike, dtype=datelike.dtype)
14911491
mapped = temp.map(mapper, na_action=na_action)
1492-
return mapped._values
1492+
return mapped.to_numpy()
14931493

14941494
if is_numeric_dtype(self.dtype):
14951495
return map_array(self.to_numpy(), mapper, na_action=na_action)

0 commit comments

Comments
 (0)