Subtract other from self in-place.
(self, other)
| 4418 | return self |
| 4419 | |
| 4420 | def __isub__(self, other): |
| 4421 | """ |
| 4422 | Subtract other from self in-place. |
| 4423 | |
| 4424 | """ |
| 4425 | m = getmask(other) |
| 4426 | if self._mask is nomask: |
| 4427 | if m is not nomask and m.any(): |
| 4428 | self._mask = make_mask_none(self.shape, self.dtype) |
| 4429 | self._mask += m |
| 4430 | elif m is not nomask: |
| 4431 | self._mask += m |
| 4432 | other_data = getdata(other) |
| 4433 | other_data = np.where(self._mask, other_data.dtype.type(0), other_data) |
| 4434 | self._data.__isub__(other_data) |
| 4435 | return self |
| 4436 | |
| 4437 | def __imul__(self, other): |
| 4438 | """ |
nothing calls this directly
no test coverage detected