sklearn.utils.arrayfuncs.min_pos

sklearn.utils.arrayfuncs.min_pos(X)

Find the minimum value of an array over positive values

Returns the maximum representable value of the input dtype if none of the values are positive.