pyarrow.compute.is_valid

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

Return true if non-null.

For each input value, emit true iff the value is valid (i.e. non-null).

Parameters:
valuesArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

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