pyarrow.compute.list_value_length(lists, /, *, memory_pool=None)#

Compute list lengths.

lists must have a list-like type. For each non-null value in lists, its length is emitted. Null values emit a null in the output.

listsArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

If not passed, will allocate memory from the default memory pool.