[Numpy-discussion] Medians that ignore values

Alan G Isaac aisaac at american.edu
Fri Sep 19 17:25:53 EDT 2008


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``?

Thanks,
Alan Isaac




More information about the NumPy-Discussion mailing list