[Numpy-discussion] first impressions with numpy

Sebastian Haase haase at msg.ucsf.edu
Fri Mar 31 12:30:02 CST 2006

I'm a long time user of numarray. Now I downloaded numpy for the first 
time - and am quite excited to maybe soon being able to use things like 
weave !
Thanks for all the good work !

I was following the discussion about dtype with interest, and so it was 
one of the first things to check...
 >>> repr(aa.dtype)
 >>> str(aa.dtype)
 >>> aa.dtype.name

Would it be possible to change str(aa.dtype) to aa.dtype.name  ??
I think it would be much more readable !
I'm mainly thinking of (some "less involved") people that just want to 
know that it's a '32bit integer' ; '<i4' is quite cryptic !

This is probably more numarray related:
Why does numarray.asarray( numpy.array([1]) ) return a numpy array, not 
a numarray ??? This is even true for numarray.array( numpy.array([1]) ) !!

I'll keep exploring...
Sebastian Haase

More information about the Numpy-discussion mailing list