[Numpy-discussion] newb question
Fri Sep 19 19:54:34 CDT 2008
On Friday 19 September 2008 20:47:12 paul taney wrote:
> What am I doing wrong here? The reshape doesn"t take.
Returns an array containing the data of a, but with a new shape.
Refer to `numpy.reshape` for full documentation.
You see that you're not modifying in place.
Instead, you should use
a.shape = (3,4,3)
Play with the tuple to find what you want -- (4,3,3) seems to meet your
More information about the Numpy-discussion