datatable.max()

Calculate the maximum value for each column from cols. It is recommended to use it as dt.max() to prevent conflict with the Python built-in max() function.

Parameters

cols
Expr

Input columns.

return
Expr

f-expression having one row and the same names, stypes and number of columns as in cols.

except
TypeError

The exception is raised when one of the columns from cols has a non-numeric type.

See Also

  • min() – function to calculate minimum values.