cosh function

The cosh function returns the hyperbolic cosine of each row of the column.


Parameters

cosh(column)

Parameter

Description

column

The attribute from which we want to retrieve the hyperbolic cosine. Its type must be numeral. The column parameter is mandatory.


Example

The following example uses the Bike Sales dataset.

This example isn’t based on a real scenario, it only explains how to use the function.

Description

Screenshot

In this example, we want to retrieve the hyperbolic cosine of the Revenue attribute.

Add a new column, and type the following formula: cosh($"Revenue")

As you can see, the attribute has been filled with the hyperbolic cosine of the Revenue attribute’s values.