pyarrow.compute.list_parent_indices¶
-
pyarrow.compute.
list_parent_indices
(lists, *, memory_pool=None)¶ Compute parent indices of nested list values.
lists must have a list-like type. For each value in each list of lists, the top-level list index is emitted.
- Parameters
lists (Array-like) – Argument to compute function
memory_pool (pyarrow.MemoryPool, optional) – If not passed, will allocate memory from the default memory pool.