scikits.timeseries.last_unmasked_val
Enter search terms or a module, class or function name.
Retrieve the first unmasked value along the given axis in a MaskedArray.
a : MaskedArray
Input MaskedArray (or a subclass of).
axis : int, optional
Axis along which to perform the operation. If None, applies to a flattened version of the array.
val : {singleton of type marray.dtype}
First unmasked value in a. If all values in a are masked, returns the numpy.ma.masked constant.