pyarrow.compute.cos#
- pyarrow.compute.cos(x, /, *, memory_pool=None)#
Compute the cosine.
NaN is returned for invalid input values; to raise an error instead, see “cos_checked”.
- Parameters
- xArray-like or scalar-like
Argument to compute function.
- memory_pool
pyarrow.MemoryPool
, optional If not passed, will allocate memory from the default memory pool.