pyarrow.compute.list_flatten(lists, *, memory_pool=None)

Flatten list values.

lists must have a list-like type. Return an array with the top list level flattened. Top-level null values in lists do not emit anything in the input.

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

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