Return a as an array where masked data have been replaced by value.
If a is not a MaskedArray, a itself is returned. If a is a MaskedArray and fill_value is None, fill_value is set to a.fill_value.
Parameters: | a : maskedarray or array_like
fill_value : {var}, optional
|
---|---|
Returns: | a : array_like |