title: extracting data from pandas multi index dataframe
body: <p>I have a multiindex pandas data frame with data as following:</p>
  
  <pre><code>dataMyDF.ix[0:3]
                                                     dataMyDF
  col1    col2         col3      col4   col5          
  W       W            8.0       29.0    4.0       0.291155
  P       I            8.0       29.0    7.0       0.108057
  N       D            2.0       14.0    16.0      0.247355
  </code></pre>
  
  <p>where col1 through col5 are the index and data is the values. The multi index can be seen as:</p>
  
  <pre><code>shape.index[0]
  (u'W', u'W', 8.0, 29.0, 4.0)
  </code></pre>
  
  <p>How do I extract data from dataMyDF:</p>
  
  <p>i.e I want to do something like:</p>
  
  <pre><code>indexArr = [(W, W, 8.0, 29.0, 4.0), (N, D, 2.0, 14.0, 16.0)]
  </code></pre>
  
  <p><code>dataMyDF[indexArr]</code> to get <code>[0.291155, 0.247355]</code></p>