1In [6]: df = pd.DataFrame(randint(0,10,10000).reshape(5000,2),columns=list('AB'))
2
3In [7]: %timeit dict(zip(df.A,df.B))
41000 loops, best of 3: 1.27 ms per loop
5
6In [8]: %timeit pd.Series(df.A.values,index=df.B).to_dict()
71000 loops, best of 3: 987 us per loop
1sales = [{'account': 'Jones LLC', 'Jan': 150, 'Feb': 200, 'Mar': 140},
2 {'account': 'Alpha Co', 'Jan': 200, 'Feb': 210, 'Mar': 215},
3 {'account': 'Blue Inc', 'Jan': 50, 'Feb': 90, 'Mar': 95 }]
4df = pd.DataFrame(sales)
5