title: Python pandas: Append rows of DataFrame and delete the appended rows
body: <pre><code>import pandas as pd
  df = pd.DataFrame({
      'id':[1,2,3,4,5,6,7,8,9,10,11],
      'text': ['abc','zxc','qwe','asf','efe','ert','poi','wer','eer','poy','wqr']})
  </code></pre>
  
  <p>I have a DataFrame with columns:</p>
  
  <pre><code>id    text
  1      abc
  2      zxc
  3      qwe
  4      asf
  5      efe
  6      ert
  7      poi
  8      wer
  9      eer
  10     poy
  11     wqr
  </code></pre>
  
  <p>I have a list <code>L = [1,3,6,10]</code> which contains list of id's.</p>
  
  <p>I am trying to append the text column using a list such that, from my list first taking 1 and 3(first two values in a list) and appending text column in my DataFrame with <code>id = 1</code> which has id's 2, then deleting rows with id column 2 similarly then taking 3 and 6 and then appending text column where <code>id = 4,5</code> to id 3 and then delete rows with id = 4 and 5 and iteratively for elements in list (x, x+1)</p>
  
  <p>My final output would look like this:</p>
  
  <pre><code>id   text
  1    abczxc         # joining id 1 and 2
  3    qweasfefe      # joining id 3,4 and 5
  6    ertpoiwereer   # joining id 6,7,8,9
  10   poywqr         # joining id 10 and 11
  </code></pre>