pyarrow.compute.is_null

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

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

  • options (pyarrow.compute.NullOptions, optional) – Parameters altering compute function semantics.

  • nan_is_null (optional) – Parameter for NullOptions constructor. Either options or nan_is_null can be passed, but not both at the same time.