I have data in the form of a pandas dataframe, which looks like this:
A B C
ab {"app":"x","wid":10,"a42":5} e
y {"hair":"x","wid":10,"a42":2} r
and I want to convert my dataframe like this:
A C app wid a42 hair
ab e x 10 5 -
y r - 10 2 r
These questions were not helpful:
JSON to pandas DataFrame
Convert Json data to Python DataFrame
How to convert a parsed json file to pandas data frame?
And I have also seen many other links but stuck with this problem.