I have a JSON file of the format
{
"keyone": {
"col1": "or",
"col2": "abc",
"col3": "bcd",
"col4": "false"
},
"keytwo": {
"col1": "aaa",
"col2": "bbb",
"col3": "ccc",
"col4": "true"
},
"keythree": {
"col1": "zor",
"col2": "hhh",
"col3": "lll",
"col4": "false"
}
}
And I wanna convert in to Pandas dataframe suck that for each key we have a row with the required values
key col1 col3
keyone or bcd
keytwo and ccc
keythree zor lll
I have looked at JSON parsers but most of them are kinda complicated.

pd.DataFrame.from_dict(d,'index')pd.read_json(json_data, orient='index')work for you?