[Numpy-discussion] non-contiguous array error
Hi, I am receiving a AttributeError: incompatible shape for a non-contiguous array error. A quick illustration of the type of code that gives me the error is shown below: from numpy import * list=[i for i in range(0,27)] c=array(list) c.shape=(3,3,3)
Re: [Numpy-discussion] non-contiguous array error
On Feb 10, 2008 7:43 PM, Brad Malone [EMAIL PROTECTED] wrote: Hi, I am receiving a AttributeError: incompatible shape for a non-contiguous array error. A quick illustration of the type of code that gives me the error is shown below: from numpy