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

Compute the inverse cosine of the elements argument-wise.

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

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