I have a json file like that:
{
"info": [
{
"product": "ABC",
"email-adr": "[email protected]",
"Gender": "M",
"Name": "João",
"id": "1069",
"mobile": "iOS | 9.1",
"client": " "
},
I tried to:
data2 = pd.read_json('file.json', encoding=str)
but got a df with a single column:
info
0 {u'id':u'1069',u'client'..
What is the best way to read this json file to a pandas df?