pyspark.sql.functions.
acosh
Computes inverse hyperbolic cosine of the input column.
New in version 3.1.0.
Changed in version 3.4.0: Supports Spark Connect.
Column
target column to compute on.
the column for computed results.
Examples
>>> df = spark.range(2) >>> df.select(acosh(col("id"))).show() +---------+ |ACOSH(id)| +---------+ | NaN| | 0.0| +---------+