pyarrow.compute.fill_null_backward

pyarrow.compute.fill_null_backward(values, /, *, memory_pool=None)

Carry non-null values backward to fill null slots.

Given an array, propagate next valid observation backward to previous valid or nothing if all next values are null.

Parameters
valuesArray-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

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