tabsdata.tableframe.expr.expr.Expr.ceil#
- Expr.ceil() Expr [source]#
Round up the expression to the next integer value.
Example:
>>> 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.0 ┆ 1.0 │ │ 1.1 ┆ 2.0 │ └──────┴─────────┘