get unique values across all columns for a row opandas code example
Example: pandas unique values in column
#List unique values in the df['name'] column
df.name.unique()
#List unique values in the df['name'] column
df.name.unique()