title: GeoPandas dataFrame using iterrows() to fill a dictionary with column data
body: <p>I am using pandas DataFrame to make a nested dictionary with a column that contains names. Each dictionary element is a nested dictionary and each nested dictionary's key is a name from the DataFrame column. </p>
  
  <p>I am using this line to fill the dictionary:</p>
  
  <pre><code>for row, name in map_datafile.iterrows():         
      material_count[name._get_value(label='NAME')] = {}
  </code></pre>
  
  <p>For some reason, the resulting dictionary contains only 579 of the 586 names contained in the DataFrame. For this reason, when I go to add a column with new data that I calculated from this dictionary, I get this error: </p>
  
  <pre><code>ValueError: Length of values does not match length of index
  </code></pre>
  
  <p>Indicating that the length of the values to be inserted into the DataFrame is different than the DataFrame. </p>
  
  <p>Am I filling the dictionary incorrectly? Any advice on this issue would be great, I am new to DataFrames. </p>