From 6d56ebb7c66673dd7121100fb36b85dce1d6b3e6 Mon Sep 17 00:00:00 2001 From: Chiara Marmo Date: Thu, 13 Oct 2022 23:36:13 -1000 Subject: [PATCH] DOC: Add changelog for ``masked_invalid`` change. (#22406) This pull request add the changelog for #22046. --- doc/release/upcoming_changes/22046.change.rst | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/release/upcoming_changes/22046.change.rst diff --git a/doc/release/upcoming_changes/22046.change.rst b/doc/release/upcoming_changes/22046.change.rst new file mode 100644 index 000000000000..13a15f9e18cb --- /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.