pandas 0.7.0 documentation

pandas.Series.count

Series.count(level=None)

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

Parameters :

level : int, default None

If the axis is a MultiIndex (hierarchical), count along a particular level, collapsing into a smaller Series

Returns :

nobs : int or Series (if level specified)