title: How to transform rows to columns in python?
body: <p>I have a column like this:</p>
  <pre><code>  values
  0  3.1
  1  2.0
  2  3.0
  3  4.3
  </code></pre>
  <p>And I want to transform the rows to columns and attach the column names
  like this:</p>
  <pre><code>A     B    C    D
  3.1  2.0  3.0  4.3
  </code></pre>
  <p>How do I do this in python?</p>