Expr.le
methodView source ↗
def le(other: Any) -> TdExpr
Categories: logic
Less or equal operator.
Parameters
parameter
otherThe value to compare with.
Examples
>>> 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 │
└──────┴─────────┘