tabsdata.tableframe.expr.expr.Expr.le#
- Expr.le(other: Any) Expr [source]#
Less or equal operator.
- Parameters:
other – The value to compare with.
Example:
>>> import tabsdata as td >>> >>> tf: td.TableFrame ... >>> >>> tf = tf.select(td.col("temp"), td.col("temp").le(1.0).alias("le")) >>> ┌──────┬─────────┐ │ temp ┆ le │ │ --- ┆ ------- │ │ f64 ┆ bool │ ╞══════╪═════════╡ │ 0.9 ┆ true │ │ 1.1 ┆ false │ └──────┴─────────┘