[Numpy-discussion] buggy fortran array reshape ?
Gael Varoquaux
gael.varoquaux@normalesup....
Wed Apr 22 13:39:34 CDT 2009
On Wed, Apr 22, 2009 at 08:18:14PM +0200, Fabrice Pardo wrote:
> It cannot be used safely.
use:
b = a.view()
b.shape = (2, 3)
This will return a view, or raise an exception.
Gaël
More information about the Numpy-discussion
mailing list