atanh function

The atanh function returns the hyperbolic arctangent of each value of the column.


Parameters

atanh(column)

Parameter

Description

column

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


Example

The following example uses the Spotify Top Hits 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 arctangent of the valence column.

Add a new attribute, then type the following formula: atanh($"valence")

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