Table Of Contents

Search

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

pandas.Index.nunique

Index.nunique(dropna=True)[source]

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

Scroll To Top