Hi all
I am newbie in python. I have a csv file with two columns first as source and second as target. There are multiple values assigned to keys in successive rows such as follows
1 -->4
1 -->5
1 -->8
1 -->12
2 -->4
2 -->17
2 -->14
2 -->46
I want to convert this into a format like dictionary or set as below
1 --> 4,5,8,12
2 --> 4,17,14,46
Can anyone help me please!
Thanks.