Pierre GM wrote:
[...]
>
> David, I wouldn't speak about compatibility, just about bugs: the problem was
> in the implementation of .max() w/ maskedarray. The origin of the problem was
> (is still) in umath.maximum.reduce that doesn't accept axis=None, so a numpy
> problem ;). But I agree: swit
Hi,
I am installing numpy 1.0.2 on AMD Opeteron, Solaris 10. However, I got the
following
error after running 'python setup.py install. I highly appreciate your help.
Running from numpy source directory.
non-existing path in 'numpy/distutils': 'site.cfg'
F2PY Version 2_3649
blas_opt_info:
blas_m
Travis Oliphant wrote:
[...]
> I'm inclined to move his masked array over to ma wholesale. The fact
> that Pierre sees it as his baby is very important to me. If it doesn't
> have significant compatibility issues than I'm all for it. I'm mainly
> interested in hearing how people actually usin
Robert,
Thanks for the suggestion on creating an empty object array first (of
the needed shape) and then assigning the entries. It works like a
charm.
Rudolph
On 5/17/07, Robert Kern <[EMAIL PROTECTED]> wrote:
> Rudolph van der Merwe wrote:
> > Can someone please confirm if the following is the
Johannes Loehnert wrote:
>>numpy.sum(x, axis=None, dtype=None, out=None)
>>vs.
>>sum(sequence, start=0)
>>
>>
The problem here is that Numeric had sum before Python had sum. So,
there is a legacy issue.
As you can tell, there are limits to my concern of shadowing builtins.
That's what n
Rudolph van der Merwe wrote:
> Can someone please confirm if the following is the expected behavior
> of numpy ndarrays of dtype=object, i.e. object arrays. I suspect it
> might be a bug.
It's expected. The array() function has to make some guesses as to what you
meant when you pass it a sequence
Pierre,
2007/5/17, Pierre GM <[EMAIL PROTECTED]>:
But I agree: switching may have some subtle consequences in
matplotlib (nothing that can't be quickly fiexed, however).
All examples in backend_driver.py test seem to run fine (+ others I added
that contained masked arrays).
David
__
n Thursday 17 May 2007 04:54:22 Travis Oliphant wrote:
> I'm inclined to move his masked array over to ma wholesale. The fact
> that Pierre sees it as his baby is very important to me.
Well, all the credits should go to Paul Dubois, the original author of
numpy.core.ma, and the scores of people
On Thu, May 17, 2007 at 02:54:22AM -0600, Travis Oliphant wrote:
> Pierre GM wrote:
> >> How far away is maskedarray from being able to replace numpy.ma?
> >>
> >
> > So far, it does everything that numpy.core.ma does, with I believe more
> > flexibility and some additional features (hard/sof
> I'm inclined to move his masked array over to ma wholesale. The fact
> that Pierre sees it as his baby is very important to me. If it doesn't
> have significant compatibility issues than I'm all for it. I'm mainly
> interested in hearing how people actually using numpy.ma would respond.
>
2007/5/17, Travis Oliphant <[EMAIL PROTECTED]>:
I'm inclined to move his masked array over to ma wholesale. The fact
that Pierre sees it as his baby is very important to me. If it doesn't
have significant compatibility issues than I'm all for it. I'm mainly
interested in hearing how people ac
Can someone please confirm if the following is the expected behavior
of numpy ndarrays of dtype=object, i.e. object arrays. I suspect it
might be a bug.
In the Python shell dump below, shouldn't the dtype of oa2[0] and
oa2[1] be 'int32' as is the case for oa1[0] and oa1[1] ?
Python 2.5.1 (r251:5
On Thu, 17 May 2007 10:48:40 +0200
"lorenzo bolla" <[EMAIL PROTECTED]> wrote:
> Hi all,
> I need to know the libraries (BLAS and LAPACK) which
>numpy has been linked
> to, when I compiled it.
> I can't remember which ones I used (ATLAS, MKL,
>etc...)...
> Is there an easy way to find it out?
>
lorenzo bolla wrote:
> Hi all,
> I need to know the libraries (BLAS and LAPACK) which numpy has been
> linked to, when I compiled it.
> I can't remember which ones I used (ATLAS, MKL, etc...)...
> Is there an easy way to find it out?
> Thanks in advance,
> Lorenzo Bolla.
Yup:
>>> import numpy
Hi,
> > This can lead to surprising bugs in code that either explicitly
> > expects it to behave like python's max() or implicitly expects that by
> > doing "from numpy import max".
my solution is to never use numpy.max. For arrays, I always use the method
call (somearray.max()). For everything
Hi all,
I need to know the libraries (BLAS and LAPACK) which numpy has been linked
to, when I compiled it.
I can't remember which ones I used (ATLAS, MKL, etc...)...
Is there an easy way to find it out?
Thanks in advance,
Lorenzo Bolla.
___
Numpy-discuss
Pierre GM wrote:
>> How far away is maskedarray from being able to replace numpy.ma?
>>
>
> So far, it does everything that numpy.core.ma does, with I believe more
> flexibility and some additional features (hard/soft mask, easy
> subclassing...). Personally, I stopped using numpy.core.ma co
17 matches
Mail list logo