Dataframe.sum(...)
This function returns the sum of all the values of the specified column number
, key
is the labels in Dataframe.labels
Parameters
key: string
- this is the column key or label, if unsure of the labels, it can be retrived by runningDataframe.labels
Returns
number
const sum: number = df.sum("key");