Skip to content

Commit

Permalink
REF: remove redundant _str_len
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel committed Aug 19, 2024
1 parent 6f7bec0 commit bd4a83b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pandas/core/arrays/arrow/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -2448,9 +2448,6 @@ def _str_slice(
pc.utf8_slice_codeunits(self._pa_array, start=start, stop=stop, step=step)
)

def _str_len(self) -> Self:
return type(self)(pc.utf8_length(self._pa_array))

def _str_lower(self) -> Self:
return type(self)(pc.utf8_lower(self._pa_array))

Expand Down

0 comments on commit bd4a83b

Please sign in to comment.