dataFrame.column.stat — max()

Description

The max() method of the stat object returns the maximum value in the selected column.

Signature

dataFrame.column(columnName).stat.max()
Scope
column
Family
stat
Returns
number

Argument

columnName (string)
The name of the column from which to get the maximum value.

Returns

max (number)
The maximum value.

Example

// get the maximum value in a column of the dataFrame
var max = dataFrame.column('revenue').stat.max();

// log the maxinum value
notebook.log(max);