diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-21 11:53:55 -0700 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-21 12:43:31 -0700 |
commit | d73b59450062d3a1fa6216e191bbfa20e5564e5f (patch) | |
tree | bca9b283241b7d8bf4f80257688c943ba44d8829 /numpy/array_api/_indexing_functions.py | |
parent | 70026c4dde47d89d6a7a4916bfac045e714a5b4f (diff) | |
download | numpy-d73b59450062d3a1fa6216e191bbfa20e5564e5f.tar.gz |
API: Define `<`, `<=`, `>`, `>=` for masked arrays
This defines the comparison operators (other than `==` and `!=`)
explicitly for masked arrays.
The mask is ignored for the resuling `res._data` (unlike `==` and
`!=` which take the mask into account.
Closes gh-21770, although the way that masked arrays propagate the
fill-value seems generally broken and error prone.
Diffstat (limited to 'numpy/array_api/_indexing_functions.py')
0 files changed, 0 insertions, 0 deletions