NumPy

numpy.ma.masked_array.set_fill_value

method

masked_array.set_fill_value(self, value=None)[source]