Skip to main content

minmax

lq.minmax(values)

Returns the minimum and maximum value of an array, ignoring NaN values. Returns (none, none) if the array is empty or contains only NaN values.

Parameters

values : array

Values to compute the minimum and the maximum of.