snowflake.snowpark.functions.pi¶
- snowflake.snowpark.functions.pi() Column[source]¶
Returns the mathematical constant pi (approximately 3.141592654).
- Returns:
The value of pi.
- Return type:
- Examples::
>>> df = session.create_dataframe([[1]], schema=["dummy"]) >>> df.select(pi().alias("pi_value")).collect() [Row(PI_VALUE=3.141592653589793)]