I have data like this:
Id Action timestamp
1 click #########
1 view #########
1 data #########
2 click #########
2 click #########
I want to convert the categories into columns containing frequency(counts) like this:
id click view data
1 1 1 1
2 2 0 0
How can I do this? Thanks !