snowflake.snowpark.functions.radians¶
- snowflake.snowpark.functions.radians(e: Union[Column, str]) Column [source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/functions.py#L2014-L2031)¶
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 | ------------