title: Pandas Dataframe Append or Set_Value
body: <p>I am trying to iterate through a list which includes some numbers and wanted to save to a Dataframe.</p>
  
  <p>However after trying <code>set_values</code> and <code>concat</code> (which is even more difficult). I am not able to get a suitable resolution. The other problem is that it has to stop before reading "END"...</p>
  
  <p>The list and DataFrame are given below:</p>
  
  <pre><code>words= ['302', '1208', '1208', '0', '179', '1208', '1208', '0', '904', '233', '233', '0', '***END', 'OF', 'REPORT***']
  
  dd = pd.DataFrame(columns=("AA","BB","CC","DD"))
  </code></pre>
  
  <p>And the code which I had used till now:</p>
  
  <pre><code>for r in range(40,48,4):
      for s in range(41,49,4):
          for t in range(42,50,4):
              for z in range(43,51,4):
                  dd = dd.set_value(len(dd),'AA',words[r])
                  dd = dd.set_value(len(dd),'BB',words[s])
                  dd = dd.set_value(len(dd),'CC',words[t])
                  dd = dd.set_value(len(dd),'DD',words[z])
  </code></pre>
  
  <p>I want to return something like below:</p>
  
  <pre><code>AA | BB | CC | DD |    
  302|1208|1208|0   |
  </code></pre>