(self, sep: str)
| 2765 | return self._from_pyarrow_array(pc.binary_repeat(self._pa_array, repeats)) |
| 2766 | |
| 2767 | def _str_join(self, sep: str) -> Self: |
| 2768 | if pa.types.is_string(self._pa_array.type) or pa.types.is_large_string( |
| 2769 | self._pa_array.type |
| 2770 | ): |
| 2771 | result = self._apply_elementwise(list) |
| 2772 | result = pa.chunked_array(result, type=pa.list_(pa.string())) |
| 2773 | else: |
| 2774 | result = self._pa_array |
| 2775 | return self._from_pyarrow_array(pc.binary_join(result, sep)) |
| 2776 | |
| 2777 | def _str_partition(self, sep: str, expand: bool) -> Self: |
| 2778 | predicate = lambda val: val.partition(sep) |
nothing calls this directly
no test coverage detected