Python: Calculate average for each hour in CSV?
问题 I want to calculate the average for each hours using a CSV file: Below is my DATA SET: Timestamp Temperature 9/1/2016 0:00:08 53.8 9/1/2016 0:00:38 53.8 9/1/2016 0:01:08 53.8 9/1/2016 0:01:38 53.8 9/1/2016 0:02:08 53.8 9/1/2016 0:02:38 54.1 9/1/2016 0:03:08 54.1 9/1/2016 0:03:38 54.1 9/1/2016 0:04:38 54 9/1/2016 0:05:38 54 9/1/2016 0:06:08 54 9/1/2016 0:06:38 54 9/1/2016 0:07:08 54 9/1/2016 0:07:38 54 9/1/2016 0:08:08 54.1 9/1/2016 0:08:38 54.1 9/1/2016 0:09:38 54.1 9/1/2016 0:10:32 54 9/1