Expr.arccosh
methodView source ↗
def arccosh() -> Expr
Categories: numeric
Calculate the inverse hyperbolic cosine of the element value.
Examples
>>> import tabsdata as td
>>>
>>> tf: td.TableFrame ...
>>>
>>> tf = tf.select(td.col("val"), td.col("val").arccosh().alias("arccosh"))
>>>
┌──────┬──────────┐
│ val ┆ arccosh │
│ --- ┆ --- │
│ f64 ┆ f64 │
╞══════╪══════════╡
│ 0.1 ┆ NaN │
│ 1.5 ┆ 0.962424 │
│ 1.8 ┆ 1.192911 │
│ 6.0 ┆ 2.477889 │
│ 6.0 ┆ 2.477889 │
│ 7.5 ┆ 2.703576 │
│ null ┆ null │
└──────┴──────────┘