Collapse axes with their sum.
Missing data array elements are omitted from the calculation.
axes : (sequence of) int, optional
squeeze : bool, optional
If True then update the data array in place. By default a new data array is created.
The collapsed array.
See also
max, min, mean, mid_range, sample_size, sd, sum_of_weights, sum_of_weights2, var
Examples
cf.Data.squeeze
cf.Data.swapaxes
Enter search terms or a module, class or function name.