[Numpy-discussion] Question about mrecarray
Jeff Garrett
jeff at jgarrett.org
Tue Mar 4 08:29:38 EST 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