任何人都可以建议我将字典列表列表转换为熊猫数据框的有效方法吗?
Input = [[{'name':'tom','roll_no':1234,'gender':'male'},
{'name':'sam','roll_no':1212,'gender':'male'}],
[{'name':'kavi','roll_no':1235,'gender':'female'},
{'name':'maha','roll_no':1211,'gender':'female'}]]
提供的示例输入中的字典键相同,预期输出是,
Output = name roll_no gender
0 tom 1234 male
1 sam 1212 male
2 kavi 1235 female
3 maha 1211 female
米脂
相关分类