{ } Raw JSON

bundles / numpy 2.4.4 / numpy / ma / core / mvoid / filled

function

numpy.ma.core:mvoid.filled

source: /numpy/ma/core.py :6616

Signature

def   filled ( self fill_value = None )

Summary

Return a copy with masked fields filled with a given value.

Parameters

fill_value : array_like, optional

The value to use for invalid entries. Can be scalar or non-scalar. If latter is the case, the filled array should be broadcastable over input array. Default is None, in which case the fill_value attribute is used instead.

Returns

: filled_void

A np.void object

See also

MaskedArray.filled

Aliases

  • numpy.ma.mvoid.filled