[Numpy-discussion] buggy fortran array reshape ?
Gael Varoquaux
gael.varoquaux at normalesup.org
Wed Apr 22 14:39:34 EDT 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