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
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to