pyarrow.compute.tan_checked

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

Compute the tangent.

Infinite values raise an error; to return NaN instead, see “tan”.

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.