I have a Pandas Dataframe and wish to count and display occurrences of events per month as following. How do I do it?
I have a Pandas Dataframe as follows:
Name Month
Jack February
Jill December
Bill September
Jack June
Jill August
Bill July
.
.
.
I wish to have a count of names born in each month and then display as follows:
Name January February March ... December
Jack 0 6 10 ... 3
Jill 2 8 4 ... 2
Bill 4 5 9 ... 0
.
.
.
How do I do it?