[Numpy-discussion] Medians that ignore values

Pierre GM pgmdevlist at gmail.com
Fri Sep 19 17:40:53 EDT 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