snowflake.snowpark.functions.pow¶

snowflake.snowpark.functions.pow(left: Union[Column, str, int, float], right: Union[Column, str, int, float]) → Column[source]¶

Returns a number (left) raised to the specified power (right).

Example::
>>> df = session.create_dataframe([[2, 3], [3, 4]], schema=["x", "y"])
>>> df.select(pow(col("x"), col("y")).alias("result")).show()
------------
|"RESULT"  |
------------
|8.0       |
|81.0      |
------------
Copy