Skip to main content
Version: 1.9.1

Expr.cosh

def cosh() -> Expr

Categories: numeric

Calculate the hyperbolic cosine of the element value.

Examples

>>> import tabsdata as td
>>>
>>> tf: td.TableFrame ...
>>>
>>> tf = tf.select(td.col("val"), td.col("val").cosh().alias("cosh"))
>>>
┌──────┬────────────┐
│ val ┆ cosh │
------
│ f64 ┆ f64 │
╞══════╪════════════╡
0.11.005004
1.52.35241
1.83.107473
6.0201.715636
6.0201.715636
7.5904.021484
│ null ┆ null │
└──────┴────────────┘