I have a nested dictionary like this:
{('1', 'Jim'): 'Pass',
('2', 'Nik'): 'Fail',
('3', 'Anna'): 'Pass',
('4', 'Bob'): 'Fail',
('5', 'Sam'): 'Pass',
('6', 'Rob'): 'Fail'}
I want to convert this to a data frame like this:
DataFrame('ID':[1,2,3,4,5,6],
'Name':[Jim, Nik, Anna, Bob, Sam, Rob],
Result: [Pass, Fail, Pass, Fail, Pass, Fail])
Kindly help!