pyarrow.compute.acos#

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

Compute the inverse cosine.

NaN is returned for invalid input values; to raise an error instead, see “acos_checked”.

Parameters
xArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

If not passed, will allocate memory from the default memory pool.