2
我的字典是這樣的熊貓:在單獨的列中顯示嵌套的字典中的值
[
{
"detail": {
"name": "boo",
"id": 1
},
"other": {
"gender": "m",
"no": "234"
}
},
{
"detail": {
"name": "hoo",
"id": 2
},
"other": {
"gender": "f",
"no": "456"
}
}
]
名單,我想在一個Excel文件的格式如下
detail other
name id gender no
boo 1 m 234
hoo 2 f 456
打印此數據總之,我想顯示父鍵列下的列中的嵌套值。我如何使用熊貓來實現這個目標?
或者是我們可以達到這個目標的任何其他圖書館,因爲熊貓是安靜的。
Niceee ...謝謝你這麼多。 –