Hi,
I was wondering whether it is possible to mask specific entries in a
structured array. If I try to do the following:
x = ma.masked_array([(2, 1.), (8, 2.)], dtype=[('a',int), ('b', float)])
x_masked = ma.masked_equal(x, 2)
I get "AttributeError: 'NotImplementedType' object has no attribute
'ndim'", which actually makes sense since x.shape returns (2,). I really
can't think of any way around this problem.
Best regards,
Marcin
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion