Is there a numpy "max minus min" function? Is there a numpy "max minus min" function? numpy numpy

Is there a numpy "max minus min" function?


Indeed there is such a function -- it's called numpy.ptp() for "peak to peak".