title: Append a list as rows of empty dataframe
body: <p>I am trying to add the rows from one data frame to another empty data frame;</p>
  
  <pre><code>for index, rows in data.iterrows():
      new = list(rows)
      var = new[0]
  
      for i in ran:
          if var in ran:
              empty_df.append(new) 
  </code></pre>
  
  <p>I select a random first column entry such as 'image1.png' and then want to select all rows which have 'image1' in the first column. I then want to move those rows to a new data frame. </p>
  
  <pre><code>new = ['image1.png', 1023, 554, 1126, 646, 'nucleus'] 
  ran = 'image1.png'
  </code></pre>
  
  <p>The output is an empty data frame when I instead want;</p>
  
  <pre><code>image1.png, 1023, 554, 1126, 646, nucleus
  image1.png, 1023, 554, 116, 646, nucleus
  image1.png, 103, 544, 1126, 6, nucleus
  image1.png, 10, 354, 1556, 56, nucleus
  image1.png, 13, 55, 1216, 46, nucleus
  image1.png, 103, 54, 116, 326, nucleus 
  </code></pre>
  
  <p>Can anyone help with this? </p>