Category "minimum"

Collapse pandas DataFrame based on daily column value

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

A way to get the local minima and maxima of a vector

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