Data.max

Data.max(column=None, bounds=None)

Find maximum value and index in col_a column of data.

Parameters

column (index) – Column to look for the maximum in

Keyword Arguments

bounds (callable) – col_a callable function that takes col_a single argument list of numbers representing one row, and returns True for all rows to search in.

Returns

(float,int) – (maximum value,row index of max value)

Note

If column is not defined (or is None) the DataFile.setas column assignments are used.