I found this: Group DataFrame in 5-minute intervals. It works great, but my problem is that I have a second value, Altitude, which is important, so the resample code didn't work.
I want to create a 10 min mean for different Altitudes. The dataset looks like:
Is there a way to create this by groupby? With resample I get this:
The problem is that I also make a mean over the Altitude.