get unique in column geopandas code example
Example 1: dataframe unique values in each column
for col in df:
print(df[col].unique())
Example 2: pandas distinct
>gapminder['continent'].unique()
array(['Asia', 'Europe', 'Africa', 'Americas', 'Oceania'], dtype=object)