neq

infix fun <T> DataColumn<T>.neq(value: T): DataColumn<Boolean>

Returns a DataColumn containing the results of comparing each element of this DataColumn with value for inequality using the != operator.

For more information: See Compare on the documentation website.

See also eq, gt, lt.

Example

// Given a DataFrame of orders with statuses represented as strings,
// create a column that indicates which orders are not completed
val isNotCompleted = df.status neq "completed"

Return

A DataColumn containing true for elements not equal to value, and false otherwise.

Parameters

value

The value to compare each element of this DataColumn with.


infix fun <C> ColumnReference<C>.neq(value: C): ColumnReference<Boolean>

Deprecated (with error)

It's recommended to migrate to the String or Extension Properties Access API https://kotlin.github.io/dataframe/apilevels.html