title: Python can't write to dataframe from dict. Simple
body: <pre><code>dict1 = {'0-10': -0.04, 
           '10-20': -0.01, 
           '20-30': -0.03, 
           '30-40': -0.04, 
           '40-50': -0.02, 
           '50-60': 0.01, 
           '60-70': 0.05, 
           '70-80': 0.01, 
           '80-90': 0.09, 
          '90-100': 0.04}
  
  stat = pd.DataFrame()
  
  for x,y in dict1.items():
      stat[x] = y
  </code></pre>
  
  <p>I try to write dict values to my dataframe and associate the column name to the keys. But my output is this:</p>
  
  <pre><code>Empty DataFrame
  Columns: [0-10, 10-20, 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-90, 90-100]
  Index: []
  </code></pre>
  
  <p>Tried it multiple times. No syntax errors. What am I missing? Thanks.</p>