Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.CategoricalIndex.nunique

CategoricalIndex.nunique(dropna=True)

Return number of unique elements in the object.

Excludes NA values by default.

Parameters:

dropna : boolean, default True

Don’t include NaN in the count.

Returns:

nunique : int