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

snowflake.snowpark.functions.sqrt

snowflake.snowpark.functions.sqrt(e: Union[Column, str]) Column[source]

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)]
Copy