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
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to