pyarrow.compute.is_finite

pyarrow.compute.is_finite(values, *, memory_pool=None)

Return true if value is finite.

For each input value, emit true iff the value is finite (not NaN, inf, or -inf).

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.