[Numpy-discussion] Question about mrecarray

Pierre GM pgmdevlist@gmail....
Tue Mar 4 09:23:29 CST 2008


Jeff,

> Is there a better way to tell if the individual fields are masked than
> accessing ._fieldmask?

That depends. If you need to access you mrecarray record by record (by rows), 
yes you have to check the corresponding ._fieldmask. If instead you can 
process your array field by field (by columns), you don't need to: each field 
(column) will be a masked array, and you can just check its mask.
Let me know if you have more problems.
HIH
P.


More information about the Numpy-discussion mailing list