select unique in pandas series code example
Example 1: pandas unique values in column
#List unique values in the df['name'] column
df.name.unique()
Example 2: get unique words from pandas dataframe
results = set()
df['text'].str.lower().str.split().apply(results.update)
$ set(['someone', 'ft.jgt', 'my', 'is', 'to', 'going', 'place', 'nickname'])