Skip to main content
Version: 0.9.2

Expr.ceil

def ceil() -> Expr

Categories: numeric

Round up the expression to the next integer value.

Examples

>>> import tabsdata as td
>>>
>>> tf: td.TableFrame ...
>>>
>>> tf = tf.select(td.col("temp"), td.col("temp").first().ceil().alias("ceil"))
>>>
┌──────┬─────────┐
│ temp ┆ ceil │
----------
│ f64 ┆ f64 │
╞══════╪═════════╡
1.01.0
1.12.0
└──────┴─────────┘