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

Closed
bluefir opened this Issue Jan 9, 2013 · 3 comments

Comments

Projects
None yet
3 participants
@bluefir

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

This comment has been minimized.

Show comment Hide comment
@jreback

jreback Jan 9, 2013

Contributor

what build are you running? what os?

Contributor

jreback commented Jan 9, 2013

what build are you running? what os?

@bluefir

This comment has been minimized.

Show comment Hide comment
@bluefir

bluefir Jan 9, 2013

pandas 0.10.0
Python 2.7.3
Windows 7

bluefir commented Jan 9, 2013

pandas 0.10.0
Python 2.7.3
Windows 7

@jreback

This comment has been minimized.

Show comment Hide comment
@jreback

jreback Jan 9, 2013

Contributor

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

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

@wesm wesm closed this Jan 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment