Skip to content

Check inequality

Source code

Description

Method equivalent of addition operator expr + other.

Usage

<Expr>$neq(other)

Arguments

other numeric or string value; accepts expression input.

Value

Expr

See Also

Expr_neq_missing

Examples

library(polars)

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