Skip to content

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

Closed
@bluefir

Description

@bluefir

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


Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIO DataIO issues that don't fit into a more specific label

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions