snowflake.snowpark.functions.cosh¶
- snowflake.snowpark.functions.cosh(e: Union[Column, str]) Column [source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/functions.py#L1845-L1860)¶
Computes the hyperbolic cosine of its argument.
Example
>>> from snowflake.snowpark.types import DecimalType >>> df = session.create_dataframe([[0]], schema=["deg"]) >>> df.select(cosh(col("deg")).alias("result")).show() ------------ |"RESULT" | ------------ |1.0 | ------------