[SciPy-user] msked array & histogram...
Wed Jun 25 12:54:39 CDT 2008
> fred a écrit :
>> fred a écrit :
>>> Is there some workaround ?
>> Convert them to NaN.
> It does not work at all (say for 10 % of nan)
> for masked arrays or arrays with NaN.
> Any suggestion ?
import numpy.ma as ma
In :help ma.compressed
Help on function compressed in module numpy.ma.core:
Return a 1-D array of all the non-masked data.
More information about the SciPy-user