snowflake.snowpark.functions.cosh¶

snowflake.snowpark.functions.cosh(e: Union[Column, str]) → Column[source]¶

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       |
------------
Copy