pyarrow.compute.acos_checked

pyarrow.compute.acos_checked(x, *, memory_pool=None)

Compute the inverse cosine of the elements argument-wise.

Integer arguments return double values. This function raises an error on values outside its domain. To return NaN instead, see “acos”.

Parameters
  • x (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.