[Numpy-discussion] missing function in numpy.ma?
Thu Mar 27 15:48:41 CDT 2008
On Thu, Mar 27, 2008 at 1:31 PM, Pierre GM <firstname.lastname@example.org> 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.
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
More information about the Numpy-discussion