datatable.sum()¶
Calculate the sum of values for each column from cols.
Parameters¶
cols
ExprInput columns.
return
Exprf-expression having one row, and the same names and number of columns
as in cols. The column stypes are int64 for
boolean and integer columns, float32 for float32 columns
and float64 for float64 columns.
except
TypeErrorThe exception is raised when one of the columns from cols
has a non-numeric type.