pyspark.sql.functions.
asin
Computes inverse sine of the input column.
New in version 1.4.0.
Changed in version 3.4.0: Supports Spark Connect.
Column
target column to compute on.
inverse sine of col, as if computed by java.lang.Math.asin()
Examples
>>> df = spark.createDataFrame([(0,), (2,)]) >>> df.select(asin(df.schema.fieldNames()[0])).show() +--------+ |ASIN(_1)| +--------+ | 0.0| | NaN| +--------+