pyarrow.compute.atan2

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

Compute the inverse tangent of y/x.

The return value is in the range [-pi, pi].

Parameters:
yArray-like or scalar-like

Argument to compute function.

xArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

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