cf.Count.any¶
-
Count.
any
()[source]¶ Test whether any data elements evaluate to True.
Performs a logical “or” over the data array and returns the result. Masked values are considered as False during computation.
Examples
>>> print(f.array) [[0 0 0]] >>> f.any() False
>>> print(f.array) [[-- 0 0]] >>> f.any() False
>>> print(f.array) [[-- 3 0]] >>> f.any() True