In the image, you can see five repetitive peak sections. I want to write an algorithm that counts this number, but I am not sure how.
I tried to draw a regression curve using seaborn.lmplot
, but it was drawn so flat that it didn't work. What should I do in a case like this?