modin.pandas.Index.nunique¶
- Index.nunique() None [source]¶
Return number of unique elements in the object.
Excludes NA values by default.
- Parameters:
dropna (bool, default True) – Don’t include NaN in the count.
- Return type:
int
See also
DataFrame.nunique
Method nunique for DataFrame.
Series.count
Count non-NA/null observations in the Series.