pyspark.sql.functions.cosh

pyspark.sql.functions.cosh(col: ColumnOrName) → pyspark.sql.column.Column[source]

Computes hyperbolic cosine of the input column.

New in version 1.4.0.

Parameters
colColumn or str

hyperbolic angle

Returns
Column

hyperbolic cosine of the angle, as if computed by java.lang.Math.cosh()