| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.compute.utf8_slice_codeunits.html | [Back] [Original] |
Section Navigation
Slice string.
For each string in strings, emit the substring defined by (start, stop, step) as given by SliceOptions where start is inclusive and stop is exclusive. All three values are measured in UTF8 codeunits. If step is negative, the string will be advanced in reversed order. An error is raised if step is zero. Null inputs emit null.
Argument to compute function.
intIndex to start slicing at (inclusive).
int or None, default NoneIf given, index to stop slicing at (exclusive). If not given, slicing will stop at the end.
int, default 1Slice step.
pyarrow.compute.SliceOptions, optionalAlternative way of passing options.
pyarrow.MemoryPool, optionalIf not passed, will allocate memory from the default memory pool.
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |