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\':
The above answer seems the simplest and works. Copied below.
dict = {'key 1': 'value 1', 'key 2': 'value 2', 'key 3': 'value 3'} df=pd.DataFrame([dict]) print(df.head())