snowflake.snowpark.functions.radians¶
- snowflake.snowpark.functions.radians(e: Union[Column, str]) Column [source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/functions.py#L2354-L2372)¶
Converts degrees to radians.
Examples:
>>> df = session.create_dataframe([[1.111], [2.222], [3.333]], schema=["a"]) >>> df.select(radians(col("a")).cast("number(38, 5)").alias("result")).show() ------------ |"RESULT" | ------------ |0.01939 | |0.03878 | |0.05817 | ------------