acosh function in the Factory

The acosh function returns the hyperbolic arccosine of each value of the column.


Parameters

acosh(column)

Parameter

Description

column

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


Example

The following example uses the Top Hits Spotify 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 calculate the hyperbolic arccosine of the tempo attribute.

Add a new column, and type the following formula: acosh($"tempo")

As you can see, the column has been filled with the hyperbolic arccosine values of the tempo attribute’s values.