cfdm.Data.sum

Data.sum(axes=None)[source]

Return the sum of an array or the sum along axes.

Missing data array elements are omitted from the calculation.

See also

max, min

Parameters

axes: (sequence of) int, optional

Returns
Data

The sum of the data along the specified axes.

Examples: