I have a data frame as follows:
data1 month day
20 1 1
10 1 1
15 1 2
12 1 2
16 1 3
10 1 3
20 2 1
10 2 1
15 2 2
10 2 2
12 2 3
10 2 3
I want to find the sum of data for each day of each month and display the result as a dataframe similar to the following:
date sum_data1
1.1. 30
2.1. 27
3.1. 26
1.2. 30
2.2. 25
3.2. 22
The data set is quite big > 200,000 rows.