cf.Field.count_masked

Field.count_masked()[source]

Count the masked elements of the data.

Returns:
int

The number of masked elements.

Examples:

>>> n = f.count_masked()