cf.Data.range¶
-
Data.range(axes=None, squeeze=True, mtol=1, i=False)[source]¶ Collapse axes with the absolute difference between their maximum and minimum values.
Missing data array elements are omitted from the calculation.
See also
max,min,mean,mid_range,sample_size,sd,sum,sum_of_weights,sum_of_weights2,varParameters: - i : bool, optional
If True then update the data array in place. By default a new data array is created.
Returns: - out : cf.Data
The collapsed array.
Examples: