I have a list of tuples that looks like:
data = [('x', [('a', 1), ('b', 2), ('c', 3)]),
('y', [('d', 4), ('e', 5), ('f', 6)])]
I want to build a dataframe that looks like the one below from it:
A B C
x a 1
x b 2
x c 3
y d 4
y e 5
y f 6
I looked at this post and this post but they don't produce what I want.