Skip to main content
Version: 1.3.0

Expr.arctanh

def arctanh() -> Expr

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.010.01
0.150.15114
0.180.181983
0.60.693147
0.60.693147
0.750.972955
│ null ┆ null │
└──────┴──────────┘