Return (a copy of) a where invalid data (nan/inf) are masked and replaced by fill_value.
Note that a copy is performed by default (just in case...).
Parameters: | a : array_like
copy : bool
fill_value : {var}, optional
|
---|---|
Returns: | b : MaskedArray |