polars.Expr.arctan

Expr.arctan() polars.internals.expr.Expr

Compute the element-wise value for Trigonometric tangent on an array

Returns
Series of dtype Float64

Examples

>>> df = pl.DataFrame({"a": [1.0]})
>>> df.select(pl.col("a").arctan())
shape: (1, 1)
┌────────────────────┐
│ a                  │
│ ---                │
│ f64                │
╞════════════════════╡
│ 0.7853981633974483 │
└────────────────────┘