Check whether other equals self elementwise. When either of the elements is masked, the result is masked as well, but the underlying boolean data are still set, with self and other considered equal if both are masked, and unequal otherwise. For structured arrays, al
(self, other)
| 4265 | return check |
| 4266 | |
| 4267 | def __eq__(self, other): |
| 4268 | """Check whether other equals self elementwise. |
| 4269 | |
| 4270 | When either of the elements is masked, the result is masked as well, |
| 4271 | but the underlying boolean data are still set, with self and other |
| 4272 | considered equal if both are masked, and unequal otherwise. |
| 4273 | |
| 4274 | For structured arrays, all fields are combined, with masked values |
| 4275 | ignored. The result is masked if all fields were masked, with self |
| 4276 | and other considered equal only if both were fully masked. |
| 4277 | """ |
| 4278 | return self._comparison(other, operator.eq) |
| 4279 | |
| 4280 | def __ne__(self, other): |
| 4281 | """Check whether other does not equal self elementwise. |
nothing calls this directly
no test coverage detected