title: How do I view a series into table form in Python
body: <p>I am trying to view a series in a table form like this:</p>
  
  <p>test:</p>
  
  <pre><code>SYM               ABC
  PRICE             NaN
  HD1               NaN    
  HD2               100
  BD1               12
  BD2               10
  SZ1               20
  Name: 2014-03-13 00:30:01.643000, dtype: object
  </code></pre>
  
  <p>I want to be able to view it as this:</p>
  
  <p>test:</p>
  
  <pre><code>                            SYM  PRICE  HD1  HD2  BD1  BD2  SZ1
  TS                             
  2014-03-13 00:30:01.643000  ABC  NaN    NaN  100  12   10   20
  </code></pre>
  
  <p>Sorry should I have added the code. I attempted to do it this way creating a function:</p>
  
  <pre><code>def trans (datafrm):
      tempmx = 0
      tempmx = pd.DataFrame.as_matrix(datafrm)
      return tempmx
  </code></pre>
  
  <p>Thinking that trying to convert it to a matrix might change the view. It threw a TypeError instead.
  To add, the series came from pulling out a row from a larger dataframe.</p>