series (pd.Series) – The input time series data.
distance (int) – Minimum horizontal distance (in number of samples)
between neighboring peaks.
prominence (float) – Required prominence of peaks. If None, defaults to
one-fifth of the maximum value in the series.