We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecf2d31 commit ab84b92Copy full SHA for ab84b92
pandas/core/arrays/arrow/array.py
@@ -1490,7 +1490,7 @@ def to_numpy(
1490
return result
1491
1492
def map(self, mapper, na_action: Literal["ignore"] | None = None):
1493
- if self.dtype.kind == "mM" or is_numeric_dtype(self.dtype):
+ if self.dtype.kind in "mM" or is_numeric_dtype(self.dtype):
1494
return map_array(self.to_numpy(), mapper, na_action=na_action)
1495
return super().map(mapper, na_action)
1496
0 commit comments