Reputation: 311
What I have is a dataframe with over 2 columns like this
columnA columnB
1 a
1 b
1 c
2 d
I just want to rank columnA like this
columnA columnB rankA
1 a 1
1 b 2
1 c 3
2 d 1
So what should I do?
Upvotes: 3
Views: 101