📅  最后修改于: 2022-03-11 14:45:42.702000             🧑  作者: Mango
In [20]: timeit df.T.to_dict().values()
1000 loops, best of 3: 395 µs per loop
In [21]: timeit df.to_dict('records')
10000 loops, best of 3: 53 µs per loop