title: Series to DataFrame
body: <p>I have a Series that looks like this:</p>
  
  <pre><code>                     Adj Close
  Date        minor   
  2017-09-22  AFK      23.500000
              ASHR     29.530001
              ECH      49.259998
              EGPT     28.139999
              EIDO     26.950001
  </code></pre>
  
  <p>That is, for several ETFs, I have the Adj Close, day by day.</p>
  
  <p>I want to convert it to a DataFrame sush as:</p>
  
  <pre><code>              AFK         ASHR       ECH
  Date            
  2017-09-22    23.500000   29.530001  49.259998 ...
  2017-09-23    ...
  </code></pre>
  
  <p>I have tried with pivot():</p>
  
  <pre><code>h.pivot(index="Date", columns = "minor")  
  </code></pre>
  
  <p>But I get an error message.</p>
  
  <pre><code>---------------------------------------------------------------------------
  KeyError                                  Traceback (most recent call last)
  C:\Users\USUARIO\Anaconda3\lib\site-packages\pandas\core\indexes\base.py in get_loc(self, key, method, tolerance)
     2392             try:
  -&gt; 2393                 return self._engine.get_loc(key)
     2394             except KeyError:
  
  
  KeyError: 'Date'
  
  During handling of the above exception, another exception occurred:
  
   ...
  
  KeyError: 'Date'
  </code></pre>
  
  <p>What am I doing wrong?</p>