pandas 0.9.0 documentation

pandas.Series.nunique

Series.nunique()

Return count of unique elements in the Series

Returns :nunique : int