Displaying 1 result from an estimated 1 matches for "sum_list".
Did you mean:
csum_list
2006 Dec 12
4
How to sum one column in a data frame keyed on other columns
I have a data frame that looks like this:
url time somethingirrelevant visits
www.foo.com 1:00 xxx 100
www.foo.com 1:00 yyy 50
www.foo.com 2:00 xyz 25
www.bar.com 1:00 xxx 200
www.bar.com 1:00 zzz 200
www.foo.com 2:00 xxx 500
I'd like to write some code that takes this as input and outputs