PolarsBackend.max#

PolarsBackend.max(df, col)[source]

Return the maximum value of a column as an int.

Parameters:
  • df (DataFrame) – The DataFrame to inspect.

  • col (str) – The name of the column.

Returns:

The maximum value as a Python int.

Return type:

int