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

modin.pandas.Index.nunique

Index.nunique() None[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.19.0/src/snowflake/snowpark/modin/plugin/extensions/index.py#L1375-L1396)

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.