pandas 0.9.1 documentation

pandas.Series.nunique

Series.nunique()

Return count of unique elements in the Series

Returns :nunique : int