I have two numpy arrays: myarray and mask, which are both bitewise arrays(1s and 0s only).
What is the difference between
myarray[mask] = 0
and
myarray = np.where( mask, 0, myarray )
? Because I get different results and can't figure out why.
myarrayandmask?