lt

infix fun <T : Comparable<T>> DataColumn<T>.lt(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, gt.

Example

// Given a DataFrame of orders,
// create a column that indicates which orders cost less than 20 euros
val isCheap = df.orderCost lt 20

Return

A DataColumn containing true for elements less 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