Skip to main content
Version: 1.0.0

Expr.arctan

def arctan() -> Expr

Categories: numeric

Calculate the inverse tangent of the element value.

Examples

>>> import tabsdata as td
>>>
>>> tf: td.TableFrame ...
>>>
>>> tf = tf.select(td.col("val"), , td.col("val").arctan().alias("arctan"))
>>>
┌──────┬──────────┐
│ val ┆ arctan │
------
│ f64 ┆ f64 │
╞══════╪══════════╡
0.010.01
0.150.14889
0.180.178093
0.60.54042
0.60.54042
0.750.643501
│ null ┆ null │
└──────┴──────────┘