snowflake.snowpark.functions.ceil¶
- snowflake.snowpark.functions.ceil(e: Union[Column, str]) Column [source]¶
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)]