unique value panas code example
Example 1: unique values in dataframe colume
df['Column_name'].value_counts()
Example 2: pandas distinct
>gapminder['continent'].unique()
array(['Asia', 'Europe', 'Africa', 'Americas', 'Oceania'], dtype=object)
df['Column_name'].value_counts()
>gapminder['continent'].unique()
array(['Asia', 'Europe', 'Africa', 'Americas', 'Oceania'], dtype=object)