Skip to content

Commit 253531e

Browse files
committed
mypy fixup
1 parent d7f9a5d commit 253531e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pandas/core/arrays/_arrow_string_mixins.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from typing import (
44
TYPE_CHECKING,
5+
Any,
56
Literal,
67
)
78

@@ -16,7 +17,10 @@
1617
import pyarrow.compute as pc
1718

1819
if TYPE_CHECKING:
19-
from collections.abc import Sized
20+
from collections.abc import (
21+
Callable,
22+
Sized,
23+
)
2024

2125
from pandas._typing import (
2226
Scalar,
@@ -38,6 +42,9 @@ def _convert_int_result(self, result):
3842
# Convert an integer-dtype result to the appropriate result type
3943
raise NotImplementedError
4044

45+
def _apply_elementwise(self, func: Callable) -> list[list[Any]]:
46+
raise NotImplementedError
47+
4148
def _str_pad(
4249
self,
4350
width: int,

0 commit comments

Comments
 (0)