numpy.ndarray.ptp #

方法

ndarray。ptp (=,输出=, keepdims = False ) #

沿给定轴的峰峰值(最大值 - 最小值)。

请参阅numpy.ptp完整文档。

也可以看看

numpy.ptp

等价函数