title: Converting a pandas MultiIndex DataFrame from rows-wise to column-wise
body: <p>I'm working in zipline and pandas and have converted a <code>pandas.Panel</code> to a <code>pandas.DataFrame</code> using the <code>to_frame()</code> method. This is the resulting <code>pandas.DataFrame</code> which as you can see is multi-indexed:</p>
  
  <pre><code>                                  price
  major                     minor                
  2008-01-03 00:00:00+00:00 SPY    129.93
                            KO      26.38
                            PEP     64.78
  2008-01-04 00:00:00+00:00 SPY    126.74
                            KO      26.43
                            PEP     64.59
  2008-01-07 00:00:00+00:00 SPY    126.63
                            KO      27.05
                            PEP     66.10
  2008-01-08 00:00:00+00:00 SPY    124.59
                            KO      27.16
                            PEP     66.63
  </code></pre>
  
  <p>I need to convert this frame to look like this:</p>
  
  <pre><code>                          SPY     KO     PEP
  2008-01-03 00:00:00+00:00 129.93  26.38  64.78
  2008-01-04 00:00:00+00:00 126.74  26.43  64.59
  2008-01-07 00:00:00+00:00 126.63  27.05  66.10
  2008-01-08 00:00:00+00:00 124.59  27.16  66.63
  </code></pre>
  
  <p>I've tried the pivot method, stack/unstack, etc. but these methods are not what I'm looking for. I'm really quite stuck at this point and any help is appreciated.</p>