I have this dataset
Part# Location picks
A xy 34
A xc 35
A er 3
A qw 2
B xf 33
B gh 21
C po 11
C re 12
C wq 2
But i want to convert all duplicate rows based off Part# into a single row where the different locations and respective picks will show up as:
Part# Location1 picks1 Location2 picks2 Location3 picks3 Location4 picks4
A xy 34 xc 35 er 3 qw 2
B xf 33 gh 21
C po 11 re 12 wq 2
The data set is huge so the duplicates can end up being more than four.