pyarrow.compute.sin

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

Compute the sine.

NaN is returned for invalid input values; to raise an error instead, see “sin_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.