Read using Pandas Method 1 : I've read the json file using pandas and i've a dataframe in my hand, but as you can see in the pic(link)there are certain columns where the element itself a dict, how do i create columns in the current dataframe with the keys of the dict as column with respective values.
Read using 'with open' Method 2 : I've attached another image, in this i've read the file using 'with open', so it'll be a list and then converted to pandas dataframe using json.normalize(). When i use this i can easily obtain what i want.
So, how do i convert my dataframe with new columns while using method 1 ? Look at the 'Type' column in both images to understand what i mean ? PS : I didn't have enough badges to post the pic
Thanks for answering in advance !