Hey all,
I have a set of 5-second data as shown below. I need to find an hourly average of this data.
date co2
25/06/2011 08:04:00 8.30
25/06/2011 08:04:05 8.31
25/06/2011 08:04:10 8.32
25/06/2011 08:04:15 8.33
25/06/2011 08:04:20 8.32
25/06/2011 08:04:25 8.31
25/06/2011 08:04:30 8.30
25/06/2011 08:04:35 8.29
25/06/2011 08:04:40 8.34
25/06/2011 08:04:45 8.43
25/06/2011 08:04:50 8.33
25/06/2011 08:04:55 8.32
25/06/2011 08:05:00 8.31
25/06/2011 08:05:05 8.32
25/06/2011 08:05:10 8.30
25/06/2011 08:05:15 8.29
25/06/2011 08:05:20 8.30
25/06/2011 08:05:25 8.31
25/06/2011 08:05:30 8.33
25/06/2011 08:05:35 8.32
25/06/2011 08:05:40 8.32
25/06/2011 08:05:45 8.35
25/06/2011 08:05:50 8.34
25/06/2011 08:05:55 8.36
25/06/2011 08:06:00 8.37
25/06/2011 08:06:05 8.34
25/06/2011 08:06:10 8.35
25/06/2011 08:06:15 8.35
25/06/2011 08:06:20 8.34
25/06/2011 08:06:25 8.38
25/06/2011 08:06:30 8.35
25/06/2011 08:06:35 8.36
25/06/2011 08:06:40 8.32
25/06/2011 08:06:45 8.31
25/06/2011 08:06:50 8.30
25/06/2011 08:06:55 8.32
So above is just 3 minutes worth of data! Is there a way to average the co2 values into hourly data?
The co2 data is in column 13 of my dataframe. I also data in column 15 that I need to hourly average too!
Thanks a lot!