pyarrow.compute.tanh#

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

Compute the hyperbolic tangent.

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.