[Nipy-devel] The use of np.asarray

Gael Varoquaux gael.varoquaux@normalesup....
Wed Jul 8 19:43:36 CDT 2009


On Wed, Jul 08, 2009 at 05:41:51PM -0700, Jonathan Taylor wrote:
>    Aha, I didn't get that the first time. So, does np.asanyarray preserve
>    masked arrays?

Yes, it preserves any subclasses of array. So if we get to implementing
named-axis arrays (Fernando is quite enthousiastic about that), they are
also preserved.

Gaël


More information about the Nipy-devel mailing list