[Numpy-discussion] Medians that ignore values

Pierre GM pgmdevlist@gmail....
Fri Sep 19 16:40:53 CDT 2008


On Friday 19 September 2008 17:25:53 Alan G Isaac wrote:
> On 9/19/2008 4:54 PM Pierre GM apparently wrote:
> > Another way is
> > ma.array(np.empty(yourshape,yourdtype), mask=True)
> > which should work with earlier versions.
>
> Seems like ``mask`` would be a natural
> keyword for ``ma.empty``?

Not a bad idea. I'll plug that in.


More information about the Numpy-discussion mailing list