pyspark.sql.functions.asinh#
- pyspark.sql.functions.asinh(col)[source]#
Computes inverse hyperbolic sine of the input column.
New in version 3.1.0.
Changed in version 3.4.0: Supports Spark Connect.
- Parameters
- col
Column
or str target column to compute on.
- col
- Returns
Column
the column for computed results.
Examples
>>> df = spark.range(1) >>> df.select(asinh(col("id"))).show() +---------+ |ASINH(id)| +---------+ | 0.0| +---------+