I have a pandas DataFrame with multiple measurements per day (for example hourly measurements, but that is not necessarily the case), but I want to keep only th
I've been trying to retrieve the extrema of a vector that looks like this : [![First case][1]][1](source: noelshack.com) or like this : [![Second case][2]][2](s