dataFrame.column.stat — min()

Description

The min() method of the stat object returns the minimum value in the selected column.

Signature

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

Argument

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

Returns

min (number)
The minimum value.

Example

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

// log the minimum value
notebook.log(min);