pydata/pandas — Issue #880: failure in multiindex-based access in  Panel
Author: adamklein
Created: 2012-03-08 16:56:48+00:00
State: open
Labels: Bug, prio-high

Example:

import pandas as pn
ind = pn.MultiIndex.from_tuples([('a', 1), ('a', 2), ('b', 1), ('b',2)], names=['fist', 'second'])
wp = pn.Panel(np.random.random((4,5,5)), items=ind,
major_axis=np.arange(5), minor_axis=np.arange(5))

In [10]: wp['a']
...
KeyError: 'no item named a'

In [11]: wp.ix['a']
...
KeyError: 'no item named a'