pyarrow.compute.list_flatten

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.

Parameters:
listsArray-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

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