So, I have to create a dataframe. I do not mind my source to be a list of dicts or a dict.
List of Dict:
[{'A': 'First', 'C': 300, 'B': 200},
{'A': 'Second', 'C': 310, 'B': 210},
{'A': 'Third', 'C': 330, 'B': 230},
{'A': 'Fourth', 'C': 340, 'B': 240},
{'A': 'Fifth', 'C': 350, 'B': 250}]
OR
{'First': {'C': 300, 'B': 200},
'Second':{'C': 310, 'B': 210} },
'Third': {'C': 330, 'B': 230},
'Fourth': {'C': 340, 'B': 240},
'Fifth': {'C': 350, 'B': 250} }
I want my dataframe like this
C B
First 300 200
Second 310 210
Third 330 230
Fourth 340 240
Fifth 350 250
Basically, suggesting that one of the columns become the index ...
