pyspark.sql.functions.
tanh
col – hyperbolic angle
hyperbolic tangent of the given value, as if computed by java.lang.Math.tanh()
New in version 1.4.