pyarrow.compute.is_null

pyarrow.compute.is_null(values, /, *, nan_is_null=False, options=None, memory_pool=None)

Return true if null (and optionally NaN).

For each input value, emit true iff the value is null. True may also be emitted for NaN values by setting the nan_is_null flag.

Parameters:
valuesArray-like or scalar-like

Argument to compute function.

nan_is_nullbool, default False

Whether floating-point NaN values are considered null.

optionspyarrow.compute.NullOptions, optional

Alternative way of passing options.

memory_poolpyarrow.MemoryPool, optional

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