tabsdata.tableframe.expr.expr.Expr.arctan#
- Expr.arctan() Expr [source]#
Calculate the inverse tangent of the element value.
Example:
>>> import tabsdata as td >>> >>> tf: td.TableFrame ... >>> >>> tf = tf.select(td.col("val"), , td.col("val").arctan().alias("arctan")) >>> ┌──────┬──────────┐ │ val ┆ arctan │ │ --- ┆ --- │ │ f64 ┆ f64 │ ╞══════╪══════════╡ │ 0.01 ┆ 0.01 │ │ 0.15 ┆ 0.14889 │ │ 0.18 ┆ 0.178093 │ │ 0.6 ┆ 0.54042 │ │ 0.6 ┆ 0.54042 │ │ 0.75 ┆ 0.643501 │ │ null ┆ null │ └──────┴──────────┘