Command
df["col"].uniqueExplanation
Series.unique() returns the unique values in a column.
Examples
Get unique values in a column
df["col"].unique()Count unique values in a column
df["col"].nunique()df["col"].uniqueSeries.unique() returns the unique values in a column.
Get unique values in a column
df["col"].unique()Count unique values in a column
df["col"].nunique()