[NUMPY] "ValueError: total size of new array must be unchanged" just on Windows

Paolo Zaffino zaffino.p at gmail.com
Fri Oct 14 16:55:23 EDT 2011


Nobody can help me?
2011年10月12日 Paolo Zaffino <zaffino.p at gmail.com>
> I wrote a function thaht works on a 3D matrix.
> As first thing I have an array and I want reshape it into a 3D matrix (for
> further manipulations).
> For this reason I wrote in a row:
>> matrix=matrix.reshape(a, b, c).T
>> It work fine on GNU/Linux and Mac OS but not on Windows.
> In Windows I get this error:
>> matrix=matrix.reshape(a, b, c).T
>> ValueError: total size of new array must be unchanged
>> Thank you.
>>>>> 2011年10月11日 David Robinow <drobinow at gmail.com>
>>> 2011年10月11日 Paolo Zaffino <zaffino.p at gmail.com>:
>> > Nobody can help me?
>> Nope, not unless you post some code. Your problem description is too
>> vague.
>>>>-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20111014/f19f9dcf/attachment-0001.html>


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /