I have dataframe like this
date apps long
10/22/2013 23:51 A 2
10/22/2013 23:52 B 3
10/22/2013 23:52 C 1
10/23/2013 7:03 C 5
10/23/2013 7:13 A 1
10/23/2013 7:31 B 4
10/23/2013 7:31 A 5
10/23/2013 7:31 B 2
10/24/2013 0:54 B 3
10/24/2013 1:16 C 2
10/24/2013 1:16 C 1
10/24/2013 3:27 A 2
10/24/2013 7:30 A 3
10/24/2013 7:30 A 1
The problems that i have is : I want to sum how long A, B, C apps spent time for each days. so the output will looks like:
A 10/22/2013 2
A 10/23/2013 6
A 10/24/2013 6
etc...
I've tried some syntax but it did not work.