Expr.exp
methodView source ↗
def exp() -> Expr
Categories: numeric
Calculate the exponential of the element value.
Examples
>>> import tabsdata as td
>>>
>>> tf: td.TableFrame ...
>>>
>>> tf = tf.select(td.col("val"), td.col("val").exp().alias("exp"))
>>>
┌──────┬─────────────┐
│ val ┆ exp │
│ --- ┆ --- │
│ f64 ┆ f64 │
╞══════╪═════════════╡
│ 0.1 ┆ 1.105171 │
│ 6.0 ┆ 403.428793 │
│ 6.0 ┆ 403.428793 │
│ 7.5 ┆ 1808.042414 │
│ null ┆ null │
└──────┴─────────────┘