I have input data as:
Abhinav,10K
Abhinav,20K
Abhinav,30K
Nitin,15K
Nitin,25K
Mohit,50K
I need final output as:
(Abhinav,10K,20K,30K)
(Nitin,15K,25K)
(Mohit,50K)
I have come till this intermediate point:
(Abhinav,{(10K),(20K),(30K)})
(Mohit,{(50K)})
(Nitin,{(15K),(25K)})
Also, is there any way to convert this intermediate point to final solution.