[Numpy-discussion] missing function in numpy.ma?

Jarrod Millman millman@berkeley....
Thu Mar 27 15:48:41 CDT 2008

On Thu, Mar 27, 2008 at 1:31 PM, Pierre GM <pgmdevlist@gmail.com> wrote:
> On Thursday 27 March 2008 16:11:22 Travis E. Oliphant wrote:
>  > I guess what could be done is to take the old numpy.core.ma file and
>  > move it into oldnumeric.ma (along with the few re-namings that are there
>  > now)?  Could you test that option out and see if it works for you?
>  I'm currently re-introducing some functions  of numpy.core.ma in
>  numpy.ma.core, fixing a couple of bugs along the way (for example, round: the
>  current behavior of numpy.round is inconsistent: it'll return a MaskedArray
>  if the nb of decimals is 0, but a regular ndarray otherwise, so I just coded
>  a numpy.ma.round and the corresponding method).
>  2-3 functions from numpy.core.ma (average, dot, and another one I can't
>  remmbr) are already in numpy.ma.extras.
>  I should update the SVN by later this afternoon.

Excellent, I prefer this approach.


Jarrod Millman
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014

More information about the Numpy-discussion mailing list