You are viewing documentation about an older version (1.16.0). View latest version

snowflake.snowpark.functions.asin

snowflake.snowpark.functions.asin(e: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/functions.py#L1755-L1771)

Computes the inverse sine (arc sine) of its input; the result is a number in the interval [-pi, pi].

Example::
>>> from snowflake.snowpark.types import DecimalType
>>> df = session.create_dataframe([[1]], schema=["deg"])
>>> df.select(asin(col("deg")).cast(DecimalType(scale=3)).alias("result")).show()
------------
|"RESULT"  |
------------
|1.571     |
------------
Copy
Language: English