modin.pandas.Series.count¶
- Series.count() int [source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/.tox/docs/lib/python3.9/site-packages/modin/pandas/series.py#L883-L887)¶
Return number of non-NA/null observations in the Series.
- Returns:
Number of non-null values in the Series.
- Return type:
int
See also
DataFrame.count
Count non-NA cells for each column or row.
Examples
>>> s = pd.Series([0.0, 1.0, np.nan]) >>> s.count() 2