Create DataFrame with 1 column from dictionary of dictionaries

后端 未结 0 1050
情深已故
情深已故 2020-12-06 02:33

I convert dictionary to pandas DataFrame

import pandas as pd
my_dict = {
0: {1,5,8},
1: {2,7,6},
2: {8,3,7}
}
df = pd.DataFrame.from_dict(my_dict, orient=\'in         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题