pyspark.sql.functions.tanh

pyspark.sql.functions.tanh(col: ColumnOrName) → pyspark.sql.column.Column

Computes hyperbolic tangent of the input column.

Parameters
colColumn or str

hyperbolic angle

Returns
Column

hyperbolic tangent of the given value as if computed by java.lang.Math.tanh()