numpy.generic.ptp

method

generic.ptp()

Scalar method identical to the corresponding array attribute.

Please see ndarray.ptp.