You are viewing an older version (2.4.3).Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.4.3 / numpy / ma / core / MaskedArray / __ne__

function

numpy.ma.core:MaskedArray.__ne__

source: /numpy/ma/core.py:4279

Signature

def __ne__(self, other)

Summary

Check whether other does not equal 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.__ne__