Hi, I just noticed the following and I was kind of surprised:
>>>a = ma.MaskedArray([1,2,3,4,5], mask=[False,True,True,False,False]) >>>b = a*5 >>>b masked_array(data = [5 -- -- 20 25], mask = [False True True False False], fill_value=999999) >>>b.data array([ 5, 10, 15, 20, 25]) I was expecting that the underlying data wouldn't get modified while masked. Is this actual behavior expected? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion