pyarrow.compute.atan2

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

Compute the inverse tangent using argument signs to determine the quadrant.

Integer arguments return double values.

Parameters
  • y (Array-like or scalar-like) – Argument to compute function

  • x (Array-like or scalar-like) – Argument to compute function

  • memory_pool (pyarrow.MemoryPool, optional) – If not passed, will allocate memory from the default memory pool.