Skip to content

Commit 2448e9d

Browse files
committed
mypy fixup
1 parent 1c194b9 commit 2448e9d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/core/arrays/_arrow_string_mixins.py

Lines changed: 6 additions & 0 deletions
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

@@ -14,6 +15,8 @@
1415
import pyarrow.compute as pc
1516

1617
if TYPE_CHECKING:
18+
from collections.abc import Callable
19+
1720
from pandas._typing import Self
1821

1922

@@ -31,6 +34,9 @@ def _convert_int_result(self, result):
3134
# Convert an integer-dtype result to the appropriate result type
3235
raise NotImplementedError
3336

37+
def _apply_elementwise(self, func: Callable) -> list[list[Any]]:
38+
raise NotImplementedError
39+
3440
def _str_pad(
3541
self,
3642
width: int,

0 commit comments

Comments
 (0)