Skip to content

Commit c34ae46

Browse files
committed
mypy fixup
1 parent f11921e commit c34ae46

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
@@ -3,6 +3,7 @@
33
from functools import partial
44
from typing import (
55
TYPE_CHECKING,
6+
Any,
67
Literal,
78
)
89

@@ -20,7 +21,10 @@
2021
import pyarrow.compute as pc
2122

2223
if TYPE_CHECKING:
23-
from collections.abc import Sized
24+
from collections.abc import (
25+
Callable,
26+
Sized,
27+
)
2428

2529
from pandas._typing import (
2630
Scalar,
@@ -42,6 +46,9 @@ def _convert_int_result(self, result):
4246
# Convert an integer-dtype result to the appropriate result type
4347
raise NotImplementedError
4448

49+
def _apply_elementwise(self, func: Callable) -> list[list[Any]]:
50+
raise NotImplementedError
51+
4552
def _str_pad(
4653
self,
4754
width: int,

0 commit comments

Comments
 (0)