I have this dataframe :
A B C
1 14 100
1 15 101
1 16 102
2 17 103
2 18 104
3 19 105
3 20 106
... ... ...
n
and I would like this output for any number up to n for the whole dataframe :
l1 = [14, 15, 16] (the 1 in A column)
l2 = [17,18] (the 2 in A column)
l3 = [19,20] (the 3 in A column)
Could you please help me? Tanks !