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

snowflake.snowpark.functions.sqrt

snowflake.snowpark.functions.sqrt(e: ColumnOrName) 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