Given a Pandas df:
Name V1 V2
a 1 2
a 3 4
a 5 6
b 7 8
b 9 10
c 11 12
...
How to reform it into a complex dictionary of format:
{a: [(1,2), (3,4), (5,6)], b: [(7,8), (9,10)], c: [(11,12)], ...}
Please note that values of the same name also needs to be combined across rows; like "a" has three rows to be combined as one signel value array of number pairs.