title: iterrows pandas get next rows value
body: <p>I have a df in pandas</p>
  
  <pre><code>import pandas as pd
  df = pd.DataFrame(['AA', 'BB', 'CC'], columns = ['value'])
  </code></pre>
  
  <p>I want to iterate over rows in df. For each row i want row<code>s value and next row</code>s value
  Something like(it does not work):</p>
  
  <pre><code>for i, row in df.iterrows():
       print row['value']
       i1, row1 = next(df.iterrows())
       print row1['value']
  </code></pre>
  
  <p>As a result I want </p>
  
  <pre><code>'AA'
  'BB'
  'BB'
  'CC'
  'CC'
  *Wrong index error here  
  </code></pre>
  
  <p>At this point i have mess way to solve this</p>
  
  <pre><code>for i in range(0, df.shape[0])
     print df.irow(i)['value']
     print df.irow(i+1)['value']
  </code></pre>
  
  <p>Is there more efficient way to solve this issue? </p>