文章目录 举例示意 图片说明 See also 举例示意 讲道理不如举例子,下边结合代码快速说明如何求极值 >>> from scipy.signal import argrelextrema >>> x = np.array([2, 1, 2, 3, 2,