Take the dictionary:
dict = {'a':'ham', 'b': 'ham', 'c': 'chicken', 'd': 'beef', 'e': 'chicken'}
how do I take this dictionary and turn it into a dataframe where the values are the columns? i.e. I want a dataframe showing:
ham chicken beef
0 a c d
1 b e
Can't seem to get it of this form at all!
Thanks
This is a different question, the other is simply asking how to get values of a dictionary into a dataframe, I am asking how to get that particular form I outlined