krangl / krangl / SortingContext

SortingContext

class SortingContext : TableContext

A proxy on the df that exposes just parts of the DataFrame api that are relevant for sorting

Parameters

df - A krangl.DataFrame instance

Constructors

<init>

A proxy on the df that exposes just parts of the DataFrame api that are relevant for sorting

SortingContext(df: DataFrame)

Functions

desc

Creates a sorting attribute that inverts the order of the argument

fun desc(dataCol: DataCol): IntCol
fun desc(columnName: String): IntCol