pyarrow.compute.is_nan

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

Return true if NaN.

For each input value, emit true iff the value is NaN.

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.