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

modin.pandas.DataFrameGroupBy.nunique¶

DataFrameGroupBy.nunique(dropna=True)[source]¶

Return DataFrame with counts of unique elements in each position.

Parameters:

dropna (bool, default True) – Whether to exclude NaN in the counts.

Return type:

DataFrame