title: Append a Single Line by Elements into a Pandas Dataframe
body: <p>I have the following (sample) dataframe:</p>
  
  <pre><code>      Age   height  weight  haircolor
  joe    35    5.5      145     brown
  mary   26    5.25     110     blonde
  pete   44    6.02     185     red
  ....
  </code></pre>
  
  <p>There are no duplicate values in the index.</p>
  
  <p>I am in the unenviable position of having to append to this dataframe using elements from a number of other dataframes.  So I'm appending as follows:</p>
  
  <pre><code>names_df = names_df.append({'Age': someage, 
                              'height': someheight, 
                              'weight':someweight, 
                              'haircolor': somehaircolor'}, 
                               ignore_index=True)
  </code></pre>
  
  <p>My question is using this method how do I set the new index value in names_df equal to the person's name?</p>
  
  <p>The only thing I can think of is to reset the df index before I append and then re-set it afterward.  Ugly.  Has to be a better way.</p>
  
  <p>Thanks in advance.</p>