snowflake.snowpark.functions.exp¶
- snowflake.snowpark.functions.exp(e: ColumnOrName) Column [source]¶
Computes Euler’s number e raised to a floating-point value.
Example:
>>> import math >>> from snowflake.snowpark.types import IntegerType >>> df = session.create_dataframe([0.0, math.log(10)], schema=["a"]) >>> df.select(exp(df["a"]).cast(IntegerType()).alias("exp")).collect() [Row(EXP=1), Row(EXP=10)]