You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was checking how object np.newaxis behaves when I use a MaskedArray (like np.ma.is_masked() returns True).
The official documentation example in here is showing numpy.ma.expand_dims with normal ndarrays. While the old one here describes the example with MaskedArrays, solving my doubt. Shouldn't be the official documentation updated?
Just to make sure, if I use np.newaxis I assume that the mask of my array will be always respected, am I correct?
Thanks a lot for your help and the amazing job with Numpy!
Idea or request for content:
No response
The text was updated successfully, but these errors were encountered:
Issue with current documentation:
Hi!
I was checking how object np.newaxis behaves when I use a MaskedArray (like
np.ma.is_masked()
returnsTrue
).The official documentation example in here is showing
numpy.ma.expand_dims
with normal ndarrays. While the old one here describes the example with MaskedArrays, solving my doubt. Shouldn't be the official documentation updated?Just to make sure, if I use
np.newaxis
I assume that the mask of my array will be always respected, am I correct?Thanks a lot for your help and the amazing job with Numpy!
Idea or request for content:
No response
The text was updated successfully, but these errors were encountered: