pyarrow.compute.coalesce¶
-
pyarrow.compute.
coalesce
(*values, memory_pool=None)¶ Select the first non-null value in each slot.
Each row of the output will be the value from the first corresponding input for which the value is not null. If all inputs are null in a row, the output will be null.
- Parameters
*values (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.