Skip to content

np.ma.masked is not a scalar #7588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
eric-wieser opened this issue Apr 29, 2016 · 1 comment
Open

np.ma.masked is not a scalar #7588

eric-wieser opened this issue Apr 29, 2016 · 1 comment
Labels
component: numpy.ma masked arrays

Comments

@eric-wieser
Copy link
Member

>>> a = np.ma.masked_array([1, 2], [0, 1])
>>> np.isscalar(a[0])
True
>>> np.isscalar(a[1])
False

This looks undesirable

@ahaldane
Copy link
Member

ahaldane commented May 7, 2016

Yeah, this is yet another problem with masked. See also #5806 #4660 #4332 #4595 and more I'm sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: numpy.ma masked arrays
Projects
None yet
Development

No branches or pull requests

2 participants