By referring the below link am able to find frequency count of columns using cut.
Am able to get output as using above link as
var1 freq
2015-10-01 10:00:00 10
But i require sum of those record column values in that hour. Here for example i have a column value_column with different time intervals in a day. How to do sum of those values and display it in separate columns.
value_column date_time
14 10/1/2015 10:00
10 10/1/2015 10:02
16 10/1/2015 10:03
9 10/1/2015 10:04
1 10/1/2015 10:05
5 10/1/2015 10:06
13 10/1/2015 10:07
21 10/1/2015 10:08
18 10/1/2015 10:09
16 10/1/2015 10:10
Expected output
sum_value_column date_time
123 10/1/2015 10:00
Thanks in advance.