[NumPy-Tickets] [NumPy] #1762: Error message prints dimensions in wrong order?
NumPy Trac
numpy-tickets@scipy....
Wed Mar 9 23:05:20 CST 2011
#1762: Error message prints dimensions in wrong order?
------------------------+---------------------------------------------------
Reporter: charris | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version: devel
Keywords: |
------------------------+---------------------------------------------------
{{{
ERROR: test_setitem (test_panel.TestWidePanel)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-
packages/pandas/core/tests/test_panel.py", line 295, in test_setitem
self.panel['ItemE'] = df
File "/usr/lib64/python2.7/site-packages/pandas/core/panel.py", line
330, in __setitem__
self.values[loc] = mat
ValueError: non-broadcastable output operand with shape (30,4) doesn't
match the broadcast shape (4,30,1)
}}}
It appears to me that (4,30,1) should be (1,30,4)
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1762>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list