pyarrow.compute.list_value_length

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.

Parameters
  • lists (Array-like or scalar-like) – Argument to compute function

  • memory_pool (pyarrow.MemoryPool, optional) – If not passed, will allocate memory from the default memory pool.