cf.Data.is_masked

Data.is_masked

True if the data array has any masked values.

Performance

is_masked causes all delayed operations to be executed.

Examples

>>> d = cf.Data([[1, 2, 3], [4, 5, 6]])
>>> print(d.is_masked)
False
>>> d[0, ...] = cf.masked
>>> d.is_masked
True