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: Column Examples::CopyExpand>>> df = session.create_dataframe([[1]], schema=["dummy"]) >>> df.select(pi().alias("pi_value")).collect() [Row(PI_VALUE=3.141592653589793)] Show lessSee moreScroll to top