Skip to content

Check strictly greater inequality

Source code

Description

Method equivalent of addition operator expr + other.

Usage

<Expr>$gt(other)

Arguments

other numeric or string value; accepts expression input.

Value

Expr

Examples

library("polars")

pl$lit(2) > 1
#> polars Expr: [(dyn float: 2.0) > (dyn float: 1.0)]
pl$lit(2) > pl$lit(1)
#> polars Expr: [(dyn float: 2.0) > (dyn float: 1.0)]
pl$lit(2)$gt(pl$lit(1))
#> polars Expr: [(dyn float: 2.0) > (dyn float: 1.0)]