Skip to content

Commit a421e66

Browse files
authored
precommit
1 parent 88c180c commit a421e66

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/core/arrays/arrow/array.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,9 @@ def map(self, mapper, na_action: Literal["ignore"] | None = None):
14841484
if is_numeric_dtype(self.dtype):
14851485
return map_array(self.to_numpy(), mapper, na_action=na_action)
14861486
elif self.dtype == "timestamp[ns][pyarrow]":
1487-
return map_array(self.to_numpy(dtype="datetime64[ns]"), mapper, na_action=na_action)
1487+
return map_array(
1488+
self.to_numpy(dtype="datetime64[ns]"), mapper, na_action=na_action
1489+
)
14881490
else:
14891491
return super().map(mapper, na_action)
14901492

0 commit comments

Comments
 (0)