Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 388 Bytes

danfo.series.count.md

File metadata and controls

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

danfo.Series.count

Return number of non-NA/null observations in the Series.

This is equivalent to the method numpy.sum

        **parameter:** 

        **return:** {Number}, sum of values in Series

Example

let data = ["boy", "gitl", "woman", NaN]
let sf = new Series(data)
sf.count()