I have a DataFrame that is based on a DateTimeIndex. I only want the hourly data and it is every 5 minutes unless there are some drop outs in the data. I think what I need to use is df.resample('1H'), but this automatically does df.resample('1H').mean(). I just want the hourly samples exactly the way they are. Does anyone know to to achieve this?
Thanks, Matthew