Skip to content

Commit dab70ae

Browse files
committed
mypy fixup
1 parent f79b072 commit dab70ae

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

@@ -27,6 +30,9 @@ def _convert_int_dtype(self, result):
2730
# Convert an int-dtype arrow result to an appropriate output type.
2831
raise NotImplementedError
2932

33+
def _apply_elementwise(self, func: Callable) -> list[list[Any]]:
34+
raise NotImplementedError
35+
3036
def _str_pad(
3137
self,
3238
width: int,

0 commit comments

Comments
 (0)