I am trying to normalize a very simple JSON structure.
data = [{"pedido": {"situacao": "OK", ....}}, {"pedido": {"situacao": "NOK", ...}}]
rs = json_normalize(data, 'pedido', [['pedido', 'situacao']])
I would like to get just the index and another column called pedido.situacao. There is a bunch of other field on json but I want to get only situacao:
0 pedido.situacao
0 situacao OK
1 situacao NOK
It seens there is a extra column with "0"as label.