Return a flat iterator over elements of the data array.
If False then masked and unmasked elements will be returned. By default only unmasked elements are returned
An iterator over elements of the data array.
Examples
>>> print d.array [[1 -- 3]] >>> for x in d.flat(): ... print x ... 1 3
>>> for x in d.flat(False): ... print x ... 1 -- 3
cf.Data.expand_partition_dims
cf.Data.flip
Enter search terms or a module, class or function name.