bach.DataFrame.sum
sum
(axis=1, skipna=True, level=None, numeric_only=False, min_count=0, **kwargs)Returns the sum of all values in each column.
Parameters
axis
– onlyaxis=1
is supported. This means columns are aggregated.skipna
– onlyskipna=True
supported. This means NULL values are ignored.level
– not supported.numeric_only
– whether to aggregate numeric series only, or attempt all.min_count
– This minimum amount of values (not NULL) to be present before returning a result.
Returns
a new DataFrame with the aggregation applied to all selected columns.