snowflake.snowpark.functions.ceil¶
- snowflake.snowpark.functions.ceil(e: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.23.0/src/snowflake/snowpark/functions.py#L1849-L1860)¶
- Returns values from the specified column rounded to the nearest equal or larger integer. - Example: - >>> df = session.create_dataframe([135.135, -975.975], schema=["a"]) >>> df.select(ceil(df["a"]).alias("ceil")).collect() [Row(CEIL=136.0), Row(CEIL=-975.0)]