Apr-13-2022, 06:02 PM
I am trying to transform this kind of dic to classic dataframe.
list = [
{
"Fruit": [{"XY": 15.2,22,22 },
{"XX": 19, 23,23},
{"XXX": 17.8,24,24}
]
}
To output like this
XY XX XXX
0 15.2 19 17.8
1 22 23 24
2 22 23 24
How is it possible?
list = [
{
"Fruit": [{"XY": 15.2,22,22 },
{"XX": 19, 23,23},
{"XXX": 17.8,24,24}
]
}
To output like this
XY XX XXX
0 15.2 19 17.8
1 22 23 24
2 22 23 24
How is it possible?