Entering edit mode
10.5 years ago
juncheng
▴
220
This is a basic question. I want to rearrange a table like this:
A 1
B 2
B 3
B 4
C 5
C 6
to:
A 1
B 2,3,4
C 5,6
Could anyone gives a hint. Either with R or python?
thanks, seems like do the job.
Sorry, was thinking that you'd need that for some further processing, so I kept values in cells -- see the updated solution.