numpy.ma.allequal()

numpy.ma.allequal

numpy.ma.allequal(a, b, fill_value=True) [source]

Return True if all entries of a and b are equal, using fill_value as a truth value where either or both are masked.

登录查看完整内容
Parameters:

a, b : array_like

Input arrays to compare.

fill_value : bool, optional

Whether masked values in a or b are considered equal (True) or not (False).

Returns: