Skip to content

Commit 291c5e3

Browse files
authored
CLN: Remove unnecessary pa version check (#54012)
1 parent de5afb6 commit 291c5e3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pandas/core/arrays/arrow/array.py

-2
Original file line numberDiff line numberDiff line change
@@ -2026,8 +2026,6 @@ def _str_repeat(self, repeats: int | Sequence[int]):
20262026
raise NotImplementedError(
20272027
f"repeat is not implemented when repeats is {type(repeats).__name__}"
20282028
)
2029-
elif pa_version_under7p0:
2030-
raise NotImplementedError("repeat is not implemented for pyarrow < 7")
20312029
else:
20322030
return type(self)(pc.binary_repeat(self._pa_array, repeats))
20332031

0 commit comments

Comments
 (0)