Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 339 Bytes

File metadata and controls

22 lines (14 loc) · 339 Bytes
description Return the sum of the values in a series.

danfo.Series.sum

Return the sum of the values for the requested axis.

This is equivalent to the method numpy.sum.

        **parameter:** 

        **return:** Series

Example

let data1 = [30, 40, 3, 5]
let sf = new Series(data1)
sf.sum()