SciPy, b)[source]

Return the common filling value of two masked arrays, if any.

If a.fill_value == b.fill_value, return the fill value, otherwise return None.

Parameters :

a, b : MaskedArray

The masked arrays for which to compare fill values.

Returns :

fill_value : scalar or None

The common fill value, or None.


>>> x =[0, 1.], fill_value=3)
>>> y =[0, 1.], fill_value=3)
>>>, y)

Previous topic

Next topic