summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/release/upcoming_changes/22046.change.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/22046.change.rst b/doc/release/upcoming_changes/22046.change.rst
new file mode 100644
index 000000000..13a15f9e1
--- /dev/null
+++ b/doc/release/upcoming_changes/22046.change.rst
@@ -0,0 +1,7 @@
+``masked_invalid`` now modifies the mask in-place
+-----------------------------------------------------------------
+
+When used with ``copy=False``, `numpy.ma.masked_invalid` now modifies the
+input masked array in-place.
+This makes it now behave identical to ``masked_where`` and better matches the
+documentation.