pandas show unique rows code example
Example 1: dataframe unique values in each column
for col in df:
print(df[col].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'])