I have a pandas dataframe, which looks like this:
I want to create a dictionary from this frame which looks like this:
{s1: [abc, xyz, qwe], s2:[xyz, ...], ...}
The frame has around 3M rows and 400k unique 'Supplier'. What is the best way to optimize this process?