pyarrow.compute.is_inf

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

Return true if infinity.

For each input value, emit true iff the value is infinite (inf or -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.