I am new to stack overflow and sorry if I am not asking question properly.
I have two columns country
and Year
.
INDIA 1970
USA 1970
USA 1971
INDIA 1970
.
.
UK 1972
I want new data frame like this and I need to fill it with occurrences.
1970 1971 1972....
INDIA 2
USA 1 1
UK 1