i got the following code:
Frequency = df[\'x [Hz]\'] Spectrum = df[\'test_spec\'] x = Spectrum peaks, _ = find_peaks(x, distance=20) plt.plot(peaks, x[peaks], &q