pandas distinct


distinct

gapminder['continent'].unique()