[Numpy-discussion] New patch for MA

Sasha ndarray at mac.com
Thu Apr 6 21:14:01 CDT 2006


On 4/6/06, Michael Sorich <michael.sorich at gmail.com> wrote:
> ... I would prefer for the result to be masked
> when masked values are involved unless I explicitly indicate what should be
> done with the masked values. ...

This is the case in r2332:

>>> from numpy.core.ma import *
>>> print array([1,2,3], mask=[0,1,0]).cumsum()
[1 -- --]




More information about the Numpy-discussion mailing list