snowflake.snowpark.functions.ceil

snowflake.snowpark.functions.ceil(e: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/functions.py#L2132-L2144)

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)]
Copy
Language: English