Hi I want to make a nested dictionary into a data frame
've looked up other answers for a nested dictionary to data frame but it doesn't seem to be working.
d= {"info":{"nest":{"pno":"abc","c":"US","moreinfo":{"a":"Xlab","b":"miner","currency":"USD","data":0,"make":"new","value":"false","infolang":"[]","Type":"null","Desc":"poppy(a)","tera":"0-982","population":432,"additionalpop":"1 M","price":600,"log":"J01","additionalinfomore":[{"date":"01012000","tera":"AGREED_AGE","paintnumber":"p","displayFromLink":"true","additionalinfomorev":{"phone":"null","email":"null","connection":"noconnection"},"cached":"null","blob":"null","clarify":"ok"}}}
its so many nested dictionaries..
I tried the following:
df.columns=df.column.map(lambda x :x.split(".")[-1])
df
worked only partially.
Can anyone please help?