count of unique values pandas each colum code example
Example: python - count how many unique in a column
df['var_1'].nunique() # How many unque values are present in a variable
df['var_1'].nunique() # How many unque values are present in a variable