You are viewing documentation about an older version (1.19.0). View latest version

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.