Displaying 1 result from an estimated 1 matches for "tp3556126p3563627".
2011 May 27
4
how to add row index based a categorical column
hello, I have the following data manipulation issue. the following is the
sample data:
value level
4 A
5 A
2 A
10 B
9 B
34 B
100 C
34 C
101 C.
I hope to get the following result:
value level rank
2 A 1
4 A 2
5 A 3
9 B 1
10 B 2
34 B 3
34 C 1
100 C 2
101 C. 3
as