numpy.ma.set_fill_value

numpy.ma.set_fill_value(a, fill_value)

Set the filling value of a, if a is a masked array. Otherwise, do nothing.

Parameters:

a : ndarray

Input array

fill_value : var

Filling value. A consistency test is performed to make sure the value is compatible with the dtype of a.

Returns:

None :