Skip to content

failure in multiindex-based access in Panel #880

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

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

failure in multiindex-based access in Panel #880

adamklein opened this issue Mar 8, 2012 · 1 comment
Labels
Milestone

Comments

@adamklein
Copy link
Contributor

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
Copy link
Contributor Author

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
Labels
Projects
None yet
Development

No branches or pull requests

1 participant