| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../generated/pyarrow.compute.list_slice.html | [Back] [Original] |
Section Navigation
Compute slice of list-like array.
lists must have a list-like type. For each list element, compute a slice, returning a new list array. A variable or fixed size list array is returned, depending on options.
Argument to compute function.
intIndex to start slicing inner list elements (inclusive).
Optional[int], default NoneIf given, index to stop slicing at (exclusive). If not given, slicing will stop at the end. (NotImplemented)
int, default 1Slice step.
Optional[bool], default NoneWhether to return a FixedSizeListArray. If true _and_ stop is after a list elements length, nulls will be appended to create the requested slice size. The default of None will return the same type which was passed in.
pyarrow.compute.ListSliceOptions, 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 |