I have a data table:
ID FREQUENCY
"jso" 3
"and" 2
"jso" 3
"mo" 1
"jso" 3
"and" 2
It has a column with the frequency. However, I want to create a table with how many times the id has appeared so far. So I'd want my data table to look like this:
ID FREQUENCY
"jso" 1
"and" 1
"jso" 2
"mo" 1
"jso" 3
"and" 2
How would you do this?