Skip to content

Commit b06764e

Browse files
use no_default for ArrowEA._str_endswith as well
1 parent 9620e00 commit b06764e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/arrays/arrow/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2327,7 +2327,7 @@ def _str_startswith(self, pat: str | tuple[str, ...], na=lib.no_default) -> Self
23272327
result = result.fill_null(na)
23282328
return type(self)(result)
23292329

2330-
def _str_endswith(self, pat: str | tuple[str, ...], na=None) -> Self:
2330+
def _str_endswith(self, pat: str | tuple[str, ...], na=lib.no_default) -> Self:
23312331
if isinstance(pat, str):
23322332
result = pc.ends_with(self._pa_array, pattern=pat)
23332333
else:

0 commit comments

Comments
 (0)