<p dir="auto">Hi,</p>
<p dir="auto">I have a simple dataframe with a multiindex.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="stats.index.names
Out[67]: FrozenList([u'day', u'category'])"><pre class="notranslate"><code class="notranslate">stats.index.names
Out[67]: FrozenList([u'day', u'category'])
</code></pre></div>
<p dir="auto">day is a time variable, category is a string.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="stats.index.inferred_type
Out[69]: 'mixed'

stats.index.dtype_str
Out[68]: 'object'"><pre class="notranslate"><code class="notranslate">stats.index.inferred_type
Out[69]: 'mixed'

stats.index.dtype_str
Out[68]: 'object'
</code></pre></div>
<p dir="auto">if I type</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="idx=pd.IndexSlice
stats.loc[idx['2015-01-01',:],:]"><pre class="notranslate"><code class="notranslate">idx=pd.IndexSlice
stats.loc[idx['2015-01-01',:],:]
</code></pre></div>
<p dir="auto">I get the correct slice at '2015-01-01', that is all the observations for all the categories on that day.</p>
<p dir="auto">If I type</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="idx=pd.IndexSlice
stats.loc[idx['2015',:],:] "><pre class="notranslate"><code class="notranslate">idx=pd.IndexSlice
stats.loc[idx['2015',:],:] 
</code></pre></div>
<p dir="auto">I get back (almost) all my observations, even for years other than 2015.</p>
<p dir="auto">What can be the problem here? I cannot paste the data unfortunately but I am happy to help in any way.</p>
<p dir="auto">Thanks</p>
<p dir="auto">I'm running in what seems to be a bug.<br>
I'm using pandas version '0.13.0rc1-29-ga0a527b' from github, python 3.3 on a linux Mint 15 64 bits.</p>
<p dir="auto">Here's a minimal example that fails:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
import pandas as pd


index = pd.MultiIndex(levels=[['foo', 'bar', 'baz', 'qux'],
                              ['one', 'two', 'three']],
                      labels=[[0, 0, 0, 1, 1, 2, 2, 3, 3, 3],
                              [0, 1, 2, 0, 1, 1, 2, 0, 1, 2]],
                      names=['foo_name', 'bar_name'])


df_mi = pd.DataFrame(np.random.randn(10, 3), index=index,
                     columns=['A', 'B', 'C'])

with pd.get_store('minimal_io.h5') as store:
    store.put('df_mi', df_mi, format='table')

with pd.get_store('minimal_io.h5') as store:
    ixs = store.select('df_mi', &quot;columns=['A']&quot;)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>


<span class="pl-s1">index</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">MultiIndex</span>(<span class="pl-s1">levels</span><span class="pl-c1">=</span>[[<span class="pl-s">'foo'</span>, <span class="pl-s">'bar'</span>, <span class="pl-s">'baz'</span>, <span class="pl-s">'qux'</span>],
                              [<span class="pl-s">'one'</span>, <span class="pl-s">'two'</span>, <span class="pl-s">'three'</span>]],
                      <span class="pl-s1">labels</span><span class="pl-c1">=</span>[[<span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>, <span class="pl-c1">3</span>, <span class="pl-c1">3</span>],
                              [<span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">0</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>]],
                      <span class="pl-s1">names</span><span class="pl-c1">=</span>[<span class="pl-s">'foo_name'</span>, <span class="pl-s">'bar_name'</span>])


<span class="pl-s1">df_mi</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randn</span>(<span class="pl-c1">10</span>, <span class="pl-c1">3</span>), <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s1">index</span>,
                     <span class="pl-s1">columns</span><span class="pl-c1">=</span>[<span class="pl-s">'A'</span>, <span class="pl-s">'B'</span>, <span class="pl-s">'C'</span>])

<span class="pl-k">with</span> <span class="pl-s1">pd</span>.<span class="pl-en">get_store</span>(<span class="pl-s">'minimal_io.h5'</span>) <span class="pl-k">as</span> <span class="pl-s1">store</span>:
    <span class="pl-s1">store</span>.<span class="pl-en">put</span>(<span class="pl-s">'df_mi'</span>, <span class="pl-s1">df_mi</span>, <span class="pl-s1">format</span><span class="pl-c1">=</span><span class="pl-s">'table'</span>)

<span class="pl-k">with</span> <span class="pl-s1">pd</span>.<span class="pl-en">get_store</span>(<span class="pl-s">'minimal_io.h5'</span>) <span class="pl-k">as</span> <span class="pl-s1">store</span>:
    <span class="pl-s1">ixs</span> <span class="pl-c1">=</span> <span class="pl-s1">store</span>.<span class="pl-en">select</span>(<span class="pl-s">'df_mi'</span>, <span class="pl-s">"columns=['A']"</span>)</pre></div>
<p dir="auto">And here is the error message:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
&lt;ipython-input-32-005cf4e724e0&gt; in &lt;module&gt;()
     17 
     18 with pd.get_store('minimal_io.h5') as store:
---&gt; 19     ixs = store.select('df_mi', &quot;columns=['A']&quot;)

/home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0rc1_29_ga0a527b-py3.3-linux-x86_64.egg/pandas/io/pytables.py in select(self, key, where, start, stop, columns, iterator, chunksize, auto_close, **kwargs)
    622 
    623         return TableIterator(self, func, nrows=s.nrows, start=start, stop=stop,
--&gt; 624                              auto_close=auto_close).get_values()
    625 
    626     def select_as_coordinates(

/home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0rc1_29_ga0a527b-py3.3-linux-x86_64.egg/pandas/io/pytables.py in get_values(self)
   1252 
   1253     def get_values(self):
-&gt; 1254         results = self.func(self.start, self.stop)
   1255         self.close()
   1256         return results

/home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0rc1_29_ga0a527b-py3.3-linux-x86_64.egg/pandas/io/pytables.py in func(_start, _stop)
    611         def func(_start, _stop):
    612             return s.read(where=where, start=_start, stop=_stop,
--&gt; 613                           columns=columns, **kwargs)
    614 
    615         if iterator or chunksize is not None:

/home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0rc1_29_ga0a527b-py3.3-linux-x86_64.egg/pandas/io/pytables.py in read(self, columns, **kwargs)
   3796         df = super(AppendableMultiFrameTable, self).read(
   3797             columns=columns, **kwargs)
-&gt; 3798         df = df.set_index(self.levels)
   3799 
   3800         # remove names for 'level_%d'

/home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0rc1_29_ga0a527b-py3.3-linux-x86_64.egg/pandas/core/frame.py in set_index(self, keys, drop, append, inplace, verify_integrity)
   2327                 names.append(None)
   2328             else:
-&gt; 2329                 level = frame[col].values
   2330                 names.append(col)
   2331                 if drop:

/home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0rc1_29_ga0a527b-py3.3-linux-x86_64.egg/pandas/core/frame.py in __getitem__(self, key)
   1626             return self._getitem_multilevel(key)
   1627         else:
-&gt; 1628             return self._getitem_column(key)
   1629 
   1630     def _getitem_column(self, key):

/home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0rc1_29_ga0a527b-py3.3-linux-x86_64.egg/pandas/core/frame.py in _getitem_column(self, key)
   1633         # get column
   1634         if self.columns.is_unique:
-&gt; 1635             return self._get_item_cache(key)
   1636 
   1637         # duplicate columns &amp; possible reduce dimensionaility

/home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0rc1_29_ga0a527b-py3.3-linux-x86_64.egg/pandas/core/generic.py in _get_item_cache(self, item)
    976         res = cache.get(item)
    977         if res is None:
--&gt; 978             values = self._data.get(item)
    979             res = self._box_item_values(item, values)
    980             cache[item] = res

/home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0rc1_29_ga0a527b-py3.3-linux-x86_64.egg/pandas/core/internals.py in get(self, item)
   2738                 return self.get_for_nan_indexer(indexer)
   2739 
-&gt; 2740             _, block = self._find_block(item)
   2741             return block.get(item)
   2742         else:

/home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0rc1_29_ga0a527b-py3.3-linux-x86_64.egg/pandas/core/internals.py in _find_block(self, item)
   3049 
   3050     def _find_block(self, item):
-&gt; 3051         self._check_have(item)
   3052         for i, block in enumerate(self.blocks):
   3053             if item in block:

/home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0rc1_29_ga0a527b-py3.3-linux-x86_64.egg/pandas/core/internals.py in _check_have(self, item)
   3056     def _check_have(self, item):
   3057         if item not in self.items:
-&gt; 3058             raise KeyError('no item named %s' % com.pprint_thing(item))
   3059 
   3060     def reindex_axis(self, new_axis, indexer=None, method=None, axis=0,

KeyError: 'no item named foo_name'

&gt; /home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0rc1_29_ga0a527b-py3.3-linux-x86_64.egg/pandas/core/internals.py(3058)_check_have()
   3057         if item not in self.items:
-&gt; 3058             raise KeyError('no item named %s' % com.pprint_thing(item))
   3059"><pre class="notranslate"><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span>
<span class="pl-v">KeyError</span>                                  <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>)
<span class="pl-c1">&lt;</span><span class="pl-s1">ipython</span><span class="pl-c1">-</span><span class="pl-s1">input</span><span class="pl-c1">-</span><span class="pl-c1">32</span><span class="pl-c1">-</span><span class="pl-c1">005</span><span class="pl-s1">cf4e724e0</span><span class="pl-c1">&gt;</span> <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</span>()
     <span class="pl-c1">17</span> 
     <span class="pl-c1">18</span> <span class="pl-k">with</span> <span class="pl-s1">pd</span>.<span class="pl-en">get_store</span>(<span class="pl-s">'minimal_io.h5'</span>) <span class="pl-k">as</span> <span class="pl-s1">store</span>:
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">19</span>     <span class="pl-s1">ixs</span> <span class="pl-c1">=</span> <span class="pl-s1">store</span>.<span class="pl-en">select</span>(<span class="pl-s">'df_mi'</span>, <span class="pl-s">"columns=['A']"</span>)

<span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">guillaume</span><span class="pl-c1">/</span><span class="pl-s1">python3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">3</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">-</span><span class="pl-c1">0.13</span>.<span class="pl-c1">0</span><span class="pl-s1">rc1_29_ga0a527b</span><span class="pl-c1">-</span><span class="pl-s1">py3</span>.<span class="pl-c1">3</span><span class="pl-c1">-</span><span class="pl-s1">linux</span><span class="pl-c1">-</span><span class="pl-s1">x86_64</span>.<span class="pl-s1">egg</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">io</span><span class="pl-c1">/</span><span class="pl-s1">pytables</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">select</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>, <span class="pl-s1">where</span>, <span class="pl-s1">start</span>, <span class="pl-s1">stop</span>, <span class="pl-s1">columns</span>, <span class="pl-s1">iterator</span>, <span class="pl-s1">chunksize</span>, <span class="pl-s1">auto_close</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
    <span class="pl-c1">622</span> 
    <span class="pl-c1">623</span>         <span class="pl-k">return</span> <span class="pl-v">TableIterator</span>(<span class="pl-s1">self</span>, <span class="pl-s1">func</span>, <span class="pl-s1">nrows</span><span class="pl-c1">=</span><span class="pl-s1">s</span>.<span class="pl-s1">nrows</span>, <span class="pl-s1">start</span><span class="pl-c1">=</span><span class="pl-s1">start</span>, <span class="pl-s1">stop</span><span class="pl-c1">=</span><span class="pl-s1">stop</span>,
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">624</span>                              <span class="pl-s1">auto_close</span><span class="pl-c1">=</span><span class="pl-s1">auto_close</span>).<span class="pl-en">get_values</span>()
    <span class="pl-c1">625</span> 
    <span class="pl-c1">626</span>     <span class="pl-k">def</span> <span class="pl-en">select_as_coordinates</span>(

<span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">guillaume</span><span class="pl-c1">/</span><span class="pl-s1">python3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span><span class="pl-c1">.3</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">-</span><span class="pl-c1">0.13</span><span class="pl-c1">.0</span><span class="pl-s1">rc1_29_ga0a527b</span><span class="pl-c1">-</span><span class="pl-s1">py3</span><span class="pl-c1">.3</span><span class="pl-c1">-</span><span class="pl-s1">linux</span><span class="pl-c1">-</span><span class="pl-s1">x86_64</span>.<span class="pl-s1">egg</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">io</span><span class="pl-c1">/</span><span class="pl-s1">pytables</span>.<span class="pl-s1">py</span> <span class="pl-s1">in</span> <span class="pl-s1">get_values</span>(<span class="pl-s1">self</span>)
   <span class="pl-c1">1252</span> 
   <span class="pl-c1">1253</span>     <span class="pl-k">def</span> <span class="pl-s1">get_values</span>(<span class="pl-s1">self</span>):
<span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1254</span>         <span class="pl-s1">results</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">func</span>(<span class="pl-s1">self</span>.<span class="pl-s1">start</span>, <span class="pl-s1">self</span>.<span class="pl-s1">stop</span>)
   <span class="pl-c1">1255</span>         <span class="pl-s1">self</span>.<span class="pl-en">close</span>()
   <span class="pl-c1">1256</span>         <span class="pl-s1">return</span> <span class="pl-s1">results</span>

<span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">guillaume</span><span class="pl-c1">/</span><span class="pl-s1">python3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">3</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">-</span><span class="pl-c1">0.13</span>.<span class="pl-c1">0</span><span class="pl-s1">rc1_29_ga0a527b</span><span class="pl-c1">-</span><span class="pl-s1">py3</span>.<span class="pl-c1">3</span><span class="pl-c1">-</span><span class="pl-s1">linux</span><span class="pl-c1">-</span><span class="pl-s1">x86_64</span>.<span class="pl-s1">egg</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">io</span><span class="pl-c1">/</span><span class="pl-s1">pytables</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">func</span>(<span class="pl-s1">_start</span>, <span class="pl-s1">_stop</span>)
    <span class="pl-c1">611</span>         <span class="pl-k">def</span> <span class="pl-en">func</span>(<span class="pl-s1">_start</span>, <span class="pl-s1">_stop</span>):
    <span class="pl-c1">612</span>             <span class="pl-k">return</span> <span class="pl-s1">s</span>.<span class="pl-en">read</span>(<span class="pl-s1">where</span><span class="pl-c1">=</span><span class="pl-s1">where</span>, <span class="pl-s1">start</span><span class="pl-c1">=</span><span class="pl-s1">_start</span>, <span class="pl-s1">stop</span><span class="pl-c1">=</span><span class="pl-s1">_stop</span>,
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">613</span>                           <span class="pl-s1">columns</span><span class="pl-c1">=</span><span class="pl-s1">columns</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
    <span class="pl-c1">614</span> 
    <span class="pl-c1">615</span>         <span class="pl-k">if</span> <span class="pl-s1">iterator</span> <span class="pl-c1">or</span> <span class="pl-s1">chunksize</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>:

<span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">guillaume</span><span class="pl-c1">/</span><span class="pl-s1">python3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">3</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">-</span><span class="pl-c1">0.13</span>.<span class="pl-c1">0</span><span class="pl-s1">rc1_29_ga0a527b</span><span class="pl-c1">-</span><span class="pl-s1">py3</span>.<span class="pl-c1">3</span><span class="pl-c1">-</span><span class="pl-s1">linux</span><span class="pl-c1">-</span><span class="pl-s1">x86_64</span>.<span class="pl-s1">egg</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">io</span><span class="pl-c1">/</span><span class="pl-s1">pytables</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">read</span>(<span class="pl-s1">self</span>, <span class="pl-s1">columns</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
   <span class="pl-c1">3796</span>         <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-en">super</span>(<span class="pl-v">AppendableMultiFrameTable</span>, <span class="pl-s1">self</span>).<span class="pl-en">read</span>(
   <span class="pl-c1">3797</span>             <span class="pl-s1">columns</span><span class="pl-c1">=</span><span class="pl-s1">columns</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
<span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">3798</span>         <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-en">set_index</span>(<span class="pl-s1">self</span>.<span class="pl-s1">levels</span>)
   <span class="pl-c1">3799</span> 
   <span class="pl-c1">3800</span>         <span class="pl-c"># remove names for 'level_%d'</span>

<span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">guillaume</span><span class="pl-c1">/</span><span class="pl-s1">python3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">3</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">-</span><span class="pl-c1">0.13</span>.<span class="pl-c1">0</span><span class="pl-s1">rc1_29_ga0a527b</span><span class="pl-c1">-</span><span class="pl-s1">py3</span>.<span class="pl-c1">3</span><span class="pl-c1">-</span><span class="pl-s1">linux</span><span class="pl-c1">-</span><span class="pl-s1">x86_64</span>.<span class="pl-s1">egg</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">frame</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">set_index</span>(<span class="pl-s1">self</span>, <span class="pl-s1">keys</span>, <span class="pl-s1">drop</span>, <span class="pl-s1">append</span>, <span class="pl-s1">inplace</span>, <span class="pl-s1">verify_integrity</span>)
   <span class="pl-c1">2327</span>                 <span class="pl-s1">names</span>.<span class="pl-en">append</span>(<span class="pl-c1">None</span>)
   <span class="pl-c1">2328</span>             <span class="pl-s1">else</span>:
<span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">2329</span>                 <span class="pl-s1">level</span> <span class="pl-c1">=</span> <span class="pl-s1">frame</span>[<span class="pl-s1">col</span>].<span class="pl-s1">values</span>
   <span class="pl-c1">2330</span>                 <span class="pl-s1">names</span>.<span class="pl-en">append</span>(<span class="pl-s1">col</span>)
   <span class="pl-c1">2331</span>                 <span class="pl-k">if</span> <span class="pl-s1">drop</span>:

<span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">guillaume</span><span class="pl-c1">/</span><span class="pl-s1">python3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">3</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">-</span><span class="pl-c1">0.13</span>.<span class="pl-c1">0</span><span class="pl-s1">rc1_29_ga0a527b</span><span class="pl-c1">-</span><span class="pl-s1">py3</span>.<span class="pl-c1">3</span><span class="pl-c1">-</span><span class="pl-s1">linux</span><span class="pl-c1">-</span><span class="pl-s1">x86_64</span>.<span class="pl-s1">egg</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">frame</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">__getitem__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>)
   <span class="pl-c1">1626</span>             <span class="pl-s1">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_getitem_multilevel</span>(<span class="pl-s1">key</span>)
   <span class="pl-c1">1627</span>         <span class="pl-k">else</span>:
<span class="pl-c1">-&gt;</span> <span class="pl-c1">1628</span>             <span class="pl-s1">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_getitem_column</span>(<span class="pl-s1">key</span>)
   <span class="pl-c1">1629</span> 
   <span class="pl-c1">1630</span>     <span class="pl-k">def</span> <span class="pl-en">_getitem_column</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>):

<span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">guillaume</span><span class="pl-c1">/</span><span class="pl-s1">python3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">3</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">-</span><span class="pl-c1">0.13</span>.<span class="pl-c1">0</span><span class="pl-s1">rc1_29_ga0a527b</span><span class="pl-c1">-</span><span class="pl-s1">py3</span>.<span class="pl-c1">3</span><span class="pl-c1">-</span><span class="pl-s1">linux</span><span class="pl-c1">-</span><span class="pl-s1">x86_64</span>.<span class="pl-s1">egg</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">frame</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_getitem_column</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>)
   <span class="pl-c1">1633</span>         <span class="pl-c"># get column</span>
   <span class="pl-c1">1634</span>         <span class="pl-k">if</span> <span class="pl-s1">self</span>.<span class="pl-s1">columns</span>.<span class="pl-s1">is_unique</span>:
<span class="pl-c1">-&gt;</span> <span class="pl-c1">1635</span>             <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_get_item_cache</span>(<span class="pl-s1">key</span>)
   <span class="pl-c1">1636</span> 
   <span class="pl-c1">1637</span>         <span class="pl-c"># duplicate columns &amp; possible reduce dimensionaility</span>

<span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">guillaume</span><span class="pl-c1">/</span><span class="pl-s1">python3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">3</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">-</span><span class="pl-c1">0.13</span>.<span class="pl-c1">0</span><span class="pl-s1">rc1_29_ga0a527b</span><span class="pl-c1">-</span><span class="pl-s1">py3</span>.<span class="pl-c1">3</span><span class="pl-c1">-</span><span class="pl-s1">linux</span><span class="pl-c1">-</span><span class="pl-s1">x86_64</span>.<span class="pl-s1">egg</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">generic</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_get_item_cache</span>(<span class="pl-s1">self</span>, <span class="pl-s1">item</span>)
    <span class="pl-c1">976</span>         <span class="pl-s1">res</span> <span class="pl-c1">=</span> <span class="pl-s1">cache</span>.<span class="pl-en">get</span>(<span class="pl-s1">item</span>)
    <span class="pl-c1">977</span>         <span class="pl-k">if</span> <span class="pl-s1">res</span> <span class="pl-c1">is</span> <span class="pl-c1">None</span>:
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">978</span>             <span class="pl-s1">values</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">_data</span>.<span class="pl-en">get</span>(<span class="pl-s1">item</span>)
    <span class="pl-c1">979</span>             <span class="pl-s1">res</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">_box_item_values</span>(<span class="pl-s1">item</span>, <span class="pl-s1">values</span>)
    <span class="pl-c1">980</span>             <span class="pl-s1">cache</span>[<span class="pl-s1">item</span>] <span class="pl-c1">=</span> <span class="pl-s1">res</span>

<span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">guillaume</span><span class="pl-c1">/</span><span class="pl-s1">python3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">3</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">-</span><span class="pl-c1">0.13</span>.<span class="pl-c1">0</span><span class="pl-s1">rc1_29_ga0a527b</span><span class="pl-c1">-</span><span class="pl-s1">py3</span>.<span class="pl-c1">3</span><span class="pl-c1">-</span><span class="pl-s1">linux</span><span class="pl-c1">-</span><span class="pl-s1">x86_64</span>.<span class="pl-s1">egg</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">internals</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">get</span>(<span class="pl-s1">self</span>, <span class="pl-s1">item</span>)
   <span class="pl-c1">2738</span>                 <span class="pl-s1">return</span> <span class="pl-s1">self</span>.<span class="pl-en">get_for_nan_indexer</span>(<span class="pl-s1">indexer</span>)
   <span class="pl-c1">2739</span> 
<span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">2740</span>             <span class="pl-s1">_</span>, <span class="pl-s1">block</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">_find_block</span>(<span class="pl-s1">item</span>)
   <span class="pl-c1">2741</span>             <span class="pl-k">return</span> <span class="pl-s1">block</span>.<span class="pl-en">get</span>(<span class="pl-s1">item</span>)
   <span class="pl-c1">2742</span>         <span class="pl-k">else</span>:

<span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">guillaume</span><span class="pl-c1">/</span><span class="pl-s1">python3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">3</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">-</span><span class="pl-c1">0.13</span>.<span class="pl-c1">0</span><span class="pl-s1">rc1_29_ga0a527b</span><span class="pl-c1">-</span><span class="pl-s1">py3</span>.<span class="pl-c1">3</span><span class="pl-c1">-</span><span class="pl-s1">linux</span><span class="pl-c1">-</span><span class="pl-s1">x86_64</span>.<span class="pl-s1">egg</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">internals</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_find_block</span>(<span class="pl-s1">self</span>, <span class="pl-s1">item</span>)
   <span class="pl-c1">3049</span> 
   <span class="pl-c1">3050</span>     <span class="pl-k">def</span> <span class="pl-en">_find_block</span>(<span class="pl-s1">self</span>, <span class="pl-s1">item</span>):
<span class="pl-c1">-&gt;</span> <span class="pl-c1">3051</span>         <span class="pl-s1">self</span>.<span class="pl-s1">_check_have</span>(<span class="pl-s1">item</span>)
   <span class="pl-c1">3052</span>         <span class="pl-k">for</span> <span class="pl-s1">i</span>, <span class="pl-s1">block</span> <span class="pl-c1">in</span> <span class="pl-s1">enumerate</span>(<span class="pl-s1">self</span>.<span class="pl-s1">blocks</span>):
   <span class="pl-c1">3053</span>             <span class="pl-k">if</span> <span class="pl-s1">item</span> <span class="pl-c1">in</span> <span class="pl-s1">block</span>:

<span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">guillaume</span><span class="pl-c1">/</span><span class="pl-s1">python3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">3</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">-</span><span class="pl-c1">0.13</span>.<span class="pl-c1">0</span><span class="pl-s1">rc1_29_ga0a527b</span><span class="pl-c1">-</span><span class="pl-s1">py3</span>.<span class="pl-c1">3</span><span class="pl-c1">-</span><span class="pl-s1">linux</span><span class="pl-c1">-</span><span class="pl-s1">x86_64</span>.<span class="pl-s1">egg</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">internals</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_check_have</span>(<span class="pl-s1">self</span>, <span class="pl-s1">item</span>)
   <span class="pl-c1">3056</span>     <span class="pl-s1">def</span> <span class="pl-en">_check_have</span>(<span class="pl-s1">self</span>, <span class="pl-s1">item</span>):
   <span class="pl-c1">3057</span>         <span class="pl-k">if</span> <span class="pl-s1">item</span> <span class="pl-c1">not</span> <span class="pl-c1">in</span> <span class="pl-s1">self</span>.<span class="pl-s1">items</span>:
<span class="pl-c1">-&gt;</span> <span class="pl-c1">3058</span>             <span class="pl-k">raise</span> <span class="pl-v">KeyError</span>(<span class="pl-s">'no item named %s'</span> <span class="pl-c1">%</span> <span class="pl-s1">com</span>.<span class="pl-en">pprint_thing</span>(<span class="pl-s1">item</span>))
   <span class="pl-c1">3059</span> 
   <span class="pl-c1">3060</span>     <span class="pl-k">def</span> <span class="pl-s1">reindex_axis</span>(<span class="pl-s1">self</span>, <span class="pl-s1">new_axis</span>, <span class="pl-s1">indexer</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">method</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">0</span>,

<span class="pl-v">KeyError</span>: <span class="pl-s">'no item named foo_name'</span>

<span class="pl-c1">&gt;</span> <span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">guillaume</span><span class="pl-c1">/</span><span class="pl-s1">python3</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python3</span>.<span class="pl-c1">3</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">-</span><span class="pl-c1">0.13</span>.<span class="pl-c1">0</span><span class="pl-s1">rc1_29_ga0a527b</span><span class="pl-c1">-</span><span class="pl-s1">py3</span>.<span class="pl-c1">3</span><span class="pl-c1">-</span><span class="pl-s1">linux</span><span class="pl-c1">-</span><span class="pl-s1">x86_64</span>.<span class="pl-s1">egg</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">internals</span>.<span class="pl-en">py</span>(<span class="pl-c1">3058</span>)<span class="pl-s1">_check_have</span>()
   <span class="pl-c1">3057</span>         <span class="pl-k">if</span> <span class="pl-s1">item</span> <span class="pl-c1">not</span> <span class="pl-c1">in</span> <span class="pl-s1">self</span>.<span class="pl-s1">items</span>:
<span class="pl-c1">-&gt;</span> <span class="pl-c1">3058</span>             <span class="pl-k">raise</span> <span class="pl-v">KeyError</span>(<span class="pl-s">'no item named %s'</span> <span class="pl-c1">%</span> <span class="pl-s1">com</span>.<span class="pl-en">pprint_thing</span>(<span class="pl-s1">item</span>))
   <span class="pl-c1">3059</span></pre></div>