[SciPy-user] msked array & histogram...

Pierre GM pgmdevlist@gmail....
Wed Jun 25 12:49:59 CDT 2008

If you don't need to process the missing data are using a 1D array or an array 
that can be flattened, just use the `compressed()` method/function on your 
MaskedArray, and send the output to histogram, e.g.

If you need to keep track of the number of missing data, or qualify them as 
one particular category, just fill your masked array with a convenient value.

More information about the SciPy-user mailing list