polars math exp for dataframe
Compute element-wise e raised to the power of a column expression.
Signature
> polars math exp {flags}
Input/output types:
| input | output |
|---|---|
| polars_expression | polars_expression |
| polars_selector | polars_expression |
Examples
Compute element-wise e raised to the power of a column
> [[a]; [0] [1] [2]] |
polars into-df |
polars select (polars col a | polars math exp) |
polars collect