cudf.Series.count#

Series.count()[source]#

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

Returns:
int

Number of non-null values in the Series.

Examples

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

Pandas Compatibility Note

Series.count

Parameters currently not supported is level.