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 (i.e. neither NaN, inf, nor -inf).

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.