polars.Expr.arctanh#

Expr.arctanh() Expr[source]#

Compute the element-wise value for the inverse hyperbolic tangent.

Returns:
Series of dtype Float64

Examples

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