I'm looking for an easy way to subset my df and append a column with a frequency count. Suppose I have a df like this:
Name
JA
JN
JA
JB
JA
JN
And I want to have an outcome like this:
Name Frequency
JA 3
JN 2
JB 1
Any suggestion? Thank you.