Skip to content

Commit ab84b92

Browse files
committed
fix self.dtype.kind filter
1 parent ecf2d31 commit ab84b92

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
@@ -1490,7 +1490,7 @@ def to_numpy(
14901490
return result
14911491

14921492
def map(self, mapper, na_action: Literal["ignore"] | None = None):
1493-
if self.dtype.kind == "mM" or is_numeric_dtype(self.dtype):
1493+
if self.dtype.kind in "mM" or is_numeric_dtype(self.dtype):
14941494
return map_array(self.to_numpy(), mapper, na_action=na_action)
14951495
return super().map(mapper, na_action)
14961496

0 commit comments

Comments
 (0)