Expr.arctanh
methodView source ↗
def arctanh() -> TdExpr
Categories: numeric
Calculate the inverse hyperbolic tangent of the element value.
Examples
>>> import tabsdata as td
>>>
>>> tf: td.TableFrame ...
>>>
>>> tf = tf.select(td.col("val"), , td.col("val").arctanh().alias("arctanh"))
>>>
┌──────┬──────────┐
│ val ┆ arctanh │
│ --- ┆ --- │
│ f64 ┆ f64 │
╞══════╪══════════╡
│ 0.01 ┆ 0.01 │
│ 0.15 ┆ 0.15114 │
│ 0.18 ┆ 0.181983 │
│ 0.6 ┆ 0.693147 │
│ 0.6 ┆ 0.693147 │
│ 0.75 ┆ 0.972955 │
│ null ┆ null │
└──────┴──────────┘