I have a LARGE pandas dataframe which looks like this:
"name" "price" "quantity"
"s1" 2 5
"s2" 3 7
"s3" 9 2
"s1" 5 10
"s2" 8 1
etc etc etc
I want to make a new dataframe which looks like this:
"name" "price" "quantity"
"s1" [2, 5] [5, 10]
"s2" [3, 8] [7, 1]
etc etc etc
Thanks in advance!