Skip to content

nosetests: ERROR: test using ndim tables in new ways #2671

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
bluefir opened this issue Jan 9, 2013 · 3 comments
Closed

nosetests: ERROR: test using ndim tables in new ways #2671

bluefir opened this issue Jan 9, 2013 · 3 comments
Labels
Bug IO Data IO issues that don't fit into a more specific label
Milestone

Comments

@bluefir
Copy link

bluefir commented Jan 9, 2013

nosetests generated the following error:

ERROR: test using ndim tables in new ways

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pandas\io\tests\test_pytables.py", line 34
6, in test_ndim_indexables
tm.assert_panel4d_equal(self.store['p4d'], p4d)
File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 215, in get
item

return self.get(key)
File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 337, in get
return self._read_group(group)
File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 850, in _read
_group
v = handler(group, where, **kwargs)
File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 646, in _read
_ndim_table
return t.read(where)
File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 1605, in read

obj = obj.transpose(*tuple(Series(self.data_orientation).argsort()))
File "C:\Python27\lib\site-packages\pandas\core\panel.py", line 1153, in trans
pose
axes = [self._get_axis_number(kwargs[a]) for a in self._AXIS_ORDERS]
File "C:\Python27\lib\site-packages\pandas\core\generic.py", line 45, in get
axis_number
return cls._AXIS_NUMBERS[axis]
KeyError: 1


@jreback
Copy link
Contributor

jreback commented Jan 9, 2013

what build are you running? what os?

@bluefir
Copy link
Author

bluefir commented Jan 9, 2013

pandas 0.10.0
Python 2.7.3
Windows 7

@jreback
Copy link
Contributor

jreback commented Jan 9, 2013

this was fixed here (will appear in 0.10.1), you can update your local copy if you would like
its an odd issue that only appears on windows (nothing to do with pytables or panel), rather an numpy int is being passed to get_axis_number and not interpreted correctly
164eb2b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug IO Data IO issues that don't fit into a more specific label
Projects
None yet
Development

No branches or pull requests

3 participants