pyarrow.compute.drop_nullยถ

pyarrow.compute.drop_null(input, /, *, memory_pool=None)ยถ

Drop nulls from the input.

The output is populated with values from the input (Array, ChunkedArray, RecordBatch, or Table) without the null values. For the RecordBatch and Table cases, drop_null drops the full row if there is any null.

Parameters:
inputArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

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