snowflake.snowpark.functions.sqrt¶
- snowflake.snowpark.functions.sqrt(e: Union[Column, str]) Column [source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/functions.py#L2017-L2030)¶
Returns the square-root of a non-negative numeric expression.
- Example::
>>> df = session.create_dataframe( ... [4, 9], ... schema=["N"], ... ).select(sqrt(col("N"))) >>> df.collect() [Row(SQRT("N")=2.0), Row(SQRT("N")=3.0)]