I need to analyze metadata from here: http://jmcauley.ucsd.edu/data/amazon/links.html
However, metadata JSON files here are nested & have single quotes, not double quotes. Therefore I can't use json_normalize to flatten this data into a Pandas dataframe.
Example:
{'A':'1', 'B':{'c':['1','2'], 'd':['3','4']}}
I need to flatten this into a Pandas data frame with objects A B.c B.d With guideline given in the link I used eval to get A and B but can't get B.c, B.d.
Could you please suggest a way to do this?