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.

  • input (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.