I have a dictionary like this
{
'S1' :
{
'w1':[ ('a',0), ('b',1), ('c',3)],
'w2':[ ('a',1), ('b',2), ('c',5)],
'w3':[ ('a',1), ('b',1), ('c',4)]
},
'S2' :
{
'w4':[ ('a',1), ('b',2), ('c',5)],
'w5':[ ('a',0), ('b',3), ('c',4)],
'w6':[ ('a',3), ('b',3), ('c',6)]
}
}
I want to convert it to a pandas dataframe like this:
Can someone help me with this?
