[Numpy-discussion] first impressions with numpy
jmiller at stsci.edu
Fri Mar 31 13:11:06 CST 2006
Sebastian Haase wrote:
> 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() ) return a numpy array,
> not a numarray ??? This is even true for numarray.array(
> numpy.array() ) !!
This is what I get for numarray-CVS and numpy-CVS:
>>> a = numarray.array(numpy.array())
>>> a = numarray.asarray(numpy.array())
So... I don't see a problem.
Also: I logged the numarray.maximum.reduce axis=-3 transpose problem on
SF. It should get fixed for numarray-1.5.2 but that may be a while.
> I'll keep exploring...
> Sebastian Haase
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> that extends applications into web and mobile media. Attend the live
> and join the prime developer group breaking into this new coding
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
More information about the Numpy-discussion