title: adding rows to empty dataframe with columns
body: <p>I am using Pandas and want to add rows to an empty DataFrame with columns already established.</p>
  
  <p>So far my code looks like this...</p>
  
  <pre><code>def addRows(cereals,lines):
      for i in np.arange(1,len(lines)):
          dt = parseLine(lines[i])
          dt = pd.Series(dt)
          print(dt)
      # YOUR CODE GOES HERE (add dt to cereals)
         cereals.append(dt, ignore_index = True)
      return(cereals)
  </code></pre>
  
  <p>However, when I run...</p>
  
  <pre><code>cereals = addRows(cereals,lines)
  cereals
  </code></pre>
  
  <p>the dataframe returns with no rows, just the columns. I am not sure what I am doing wrong but I am pretty sure it has something to do with the append method. Anyone have any ideas as to what I am doing wrong?</p>