bundles / numpy latest / numpy / ma / core / MaskedArray / __eq__
function
numpy.ma.core:MaskedArray.__eq__
source: build-install/usr/lib/python3.14/site-packages/numpy/ma/core.py:4266
Signature
def __eq__(self, other)Summary
Check whether other equals self elementwise.
Extended Summary
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, all fields are combined, with masked values ignored. The result is masked if all fields were masked, with self and other considered equal only if both were fully masked.
Aliases
numpy.ma.MaskedArray.__eq__