On 14.07.2011 12:36, Christopher Jordan-Squire wrote:
>> > 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,
On Thu, Jul 14, 2011 at 4:09 AM, Marcin Wlodarczak <
mwlodarc...@uni-bielefeld.de> wrote:
>
> 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)])
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