gt

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

Returns a DataColumn containing the results of comparing each element of this DataColumn with value using the > operator.

For more information: See Compare on the documentation website.

See also eq, neq, lt.

Example

// Given a DataFrame of orders,
// create a column that indicates which orders cost more than 1,000 euros
val isExpensive = df.orderCost gt 1000

Return

A DataColumn containing true for elements greater than value, and false otherwise.

Parameters

value

The value to compare each element of this DataColumn with.


Deprecated (with error)

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