Expr.gt
methodView source ↗
def gt(other: Any) -> Expr
Categories: logic
Greater than 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").gt(1.0).alias("gt"))
>>>
┌──────┬─────────┐
│ temp ┆ ge │
│ --- ┆ ------- │
│ f64 ┆ bool │
╞══════╪═════════╡
│ 1.0 ┆ false │
│ 1.1 ┆ true │
└──────┴─────────┘