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