pyspark.sql.functions.sinh#
- pyspark.sql.functions.sinh(col)[source]#
Computes hyperbolic sine of the input column.
New in version 1.4.0.
Changed in version 3.4.0: Supports Spark Connect.
- Parameters
- col
Column
or str hyperbolic angle.
- col
- Returns
Column
hyperbolic sine of the given value, as if computed by java.lang.Math.sinh()
Examples
>>> df = spark.range(1) >>> df.select(sinh(lit(1.1))).first() Row(SINH(1.1)=1.33564...)