title: How to zip two pandas dataframes
body: <p>I have two Pandas dataframes like the ones below (sample code given <a href="https://repl.it/repls/TornPastRadius" rel="nofollow noreferrer">here</a>).</p>
  
  <pre><code>                   A         B         C         D
  2000-01-01  0.298399 -0.738440 -0.505438  0.324951
  2000-01-02  1.300686 -0.938543 -1.850977  0.868467
  </code></pre>
  
  <p>and </p>
  
  <pre><code>                   A         B         C         D
  2000-01-03  0.328032  0.325845 -0.289175  0.393732
  2000-01-04  0.091853 -1.450642 -0.544152  1.073248
  </code></pre>
  
  <p>and I would like to <code>zip</code> them so I can process their values. To clarify, I am trying to take two rows at a time — by zipping the corresponding rows together. I do not want to create a new df unless it would be more efficient that way.</p>
  
  <hr>
  
  <p>I did the first thing that came to mind, i.e.,</p>
  
  <pre><code>for i, (x, y) in enumerate(zip(df1, df2)):
      print(i, x, y)
  </code></pre>
  
  <p>and expected to get something like:</p>
  
  <pre><code>0 (0.298399 -0.738440 -0.505438  0.324951) (0.328032  0.325845 -0.289175  0.393732)
  1 (1.300686 -0.938543 -1.850977  0.868467) (0.091853 -1.450642 -0.544152  1.073248)
  </code></pre>
  
  <p>but what I got was:</p>
  
  <pre><code>0 A A
  1 B B
  </code></pre>
  
  <p><strong>How can one get the <em>typical</em> <code>zip</code> behavior when working with dataframes?</strong></p>
  
  <p><sub>Surprisingly, I could not find a duplicate for my question since both <a href="https://stackoverflow.com/questions/45565311/pandas-interleave-zip-two-dataframes-by-row">this</a> and <a href="https://stackoverflow.com/questions/45332960/interweave-two-dataframes">this</a> are asking something different.</sub></p>