Skip to content

Indicate if this expression is not the same as another expression

Description

Indicate if this expression is not the same as another expression

Usage

<Expr>$meta$ne(other)

Arguments

other Expression to compare with.

Value

A polars expression

Examples

library("polars")

foo_bar <- pl$col("foo")$alias("bar")
foo <- pl$col("foo")
foo_bar$meta$ne(foo)
#> [1] TRUE
foo_bar2 <- pl$col("foo")$alias("bar")
foo_bar$meta$ne(foo_bar2)
#> [1] FALSE