cudf.Series.count#

Series.count(level=None, **kwargs)#

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

Returns
int

Number of non-null values in the Series.

Notes

Parameters currently not supported is level.

Examples

>>> import cudf
>>> ser = cudf.Series([1, 5, 2, 4, 3])
>>> ser.count()
5