I have a dataset in this form
Name Designation
Jack [{'dxm':0, 'sal':1, 'pix':0}]
Joe [{'dxm':0, 'sal':0, 'pix':1}]
I want to make this dataset in this form:
Name Designation dixim Salary pixel
Jack [{'dxm':0, 'sal':1, 'pix':0}] 0 1 0
Joe [{'dxm':0, 'sal':0, 'pix':1}] 0 0 1
that means the dxm value of dictionary will come to dixim column and so on for sal and pix.
Can someone please suggest me on how to achieve this ??