Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failure in multiindex-based access in Panel #880

Closed
adamklein opened this issue Mar 8, 2012 · 1 comment

Comments

@adamklein
Copy link
Contributor

commented Mar 8, 2012

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'

@adamklein adamklein closed this Mar 8, 2012

@adamklein

This comment has been minimized.

Copy link
Contributor Author

commented Mar 8, 2012

Closing this, but in general need to hash out all the missing slicing features on panel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.