[Numpy-discussion] Inplace reshape
Gael Varoquaux
gael.varoquaux at normalesup.org
Mon Apr 23 13:25:28 EDT 2007
On Mon, Apr 23, 2007 at 10:20:43AM -0700, Timothy Hochberg wrote:
> Just set the shape of the array:
> somearray.shape = newshape
Of course ! Thanks
On Mon, Apr 23, 2007 at 12:20:51PM -0500, Robert Kern wrote:
> .reshape()
Unless I miss something obvious "a.reshape()" doesn't modify a, which is
somewhat missleading, IMHO.
Cheers,
Gaël
More information about the NumPy-Discussion
mailing list