Hey I am working on a dataset which include Location and Date. I want to create a new data frame from my original one. New data frame will include Dates (only month) and a number correspond to sum of the same month. For example, If my dataset is like below:
USA 2011-01-01
USA 2012-01-01
UK 2010-05-01
UK 2009-05-01
USA 2012-07-01
my new data frame will be as below;
January 2
May 2
July 1
Can anyone help please?