[Numpy-discussion] Question about mrecarray
Jeff Garrett
jeff@jgarrett....
Tue Mar 4 07:29:38 CST 2008
Hi,
I'm using an mrecarray in a situation where I need to replace the masked
values with default values which are not necessarily the same as the
fill value... Something like:
for field, mask in zip(row, row._fieldmask):
value = field if not mask else ...
...
Is there a better way to tell if the individual fields are masked than
accessing ._fieldmask?
Thanks,
Jeff Garrett
More information about the Numpy-discussion
mailing list