From 7cf5d4fce2a1f0f45b054ba0105690516f0b7662 Mon Sep 17 00:00:00 2001 From: Brock Date: Thu, 22 Aug 2024 09:24:46 -0700 Subject: [PATCH] specify override --- pandas/core/arrays/string_arrow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandas/core/arrays/string_arrow.py b/pandas/core/arrays/string_arrow.py index 43c8abe015434d..6e798f3bfabb5d 100644 --- a/pandas/core/arrays/string_arrow.py +++ b/pandas/core/arrays/string_arrow.py @@ -281,6 +281,8 @@ def astype(self, dtype, copy: bool = True): _object_compat = True _str_map = BaseStringArray._str_map + _str_startswith = ArrowStringArrayMixin._str_startswith + _str_endswith = ArrowStringArrayMixin._str_endswith def _str_contains( self, pat, case: bool = True, flags: int = 0, na=np.nan, regex: bool = True