title: How to extract every second row into seperate column in dataframe?
body: <p>I have a df that looks like this:</p>
  
  <pre><code>col1
  aaa
  1
  bbb
  2
  ccc
  3
  </code></pre>
  
  <p>How do I pull at every second row out of the dataframe and make it, its own column like so:</p>
  
  <pre><code>col1    col2
  aaa     1
  bbb     2
  ccc     3
  </code></pre>
  
  <p>I tried this:</p>
  
  <pre><code>df[::1]
  </code></pre>
  
  <p>since the second row has an index of 1, but I am not returned the data I am looking for. </p>