You are viewing documentation about an older version (1.3.0). View latest version

snowflake.snowpark.functions.cosh

snowflake.snowpark.functions.cosh(e: ColumnOrName) 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