I have a Python dictionary like the following:
{u\'2012-06-08\': 388, u\'2012-06-09\': 388, u\'2012-06-10\': 388, u\'2012-06-11\': 389, u\'2012-06-12\':
This is how it worked for me :
df= pd.DataFrame([d.keys(), d.values()]).T df.columns= ['keys', 'values'] # call them whatever you like
I hope this helps