numpy.ma.MaskedArray.set_fill_value

MaskedArray.set_fill_value(value=None)

Set the filling value to value.

If value is None, use a default based on the data type.