[Numpy-discussion] should I replace asarray with asanyarray in my code ?
Sebastian Haase
haase at msg.ucsf.edu
Wed Sep 27 19:32:16 EDT 2006
Hi,
This is a vaguely formulated question ...
When I work with memmap'ed files/arrays I have a derived class
that adds special attributes to the array class (referring to the MRC image
file format used in medical / microscopy imaging)
What are the pros and cons for asarray() vs. asanyarray()
One obvious con for asanyarray is that its longer and asarray is what I have
been using for the last few years ;-)
Thanks,
Sebastian
More information about the NumPy-Discussion
mailing list