Hi all,

the `np.ndenumerate` does not work well for masked arrays (like many
main namespace functions, it simply ignores/drops the mask).

There is a PR (https://github.com/numpy/numpy/pull/20020) to add a
version of it to `np.ma` (masked array specific).  And we thought it
seemed reasonable and were planning on putting it in.

This version skips all masked elements.  An alternative could be to
return `np.ma.masked` for masked elements?

So if anyone thinks that may be the better solution, please send a
brief mail.

(Personally, I don't have opinions on masked arrays for the most part.)

Cheers,

Sebastian

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to