Python - Подсчитайте, сколько уникально в колонке
df['var_1'].nunique() # How many unque values are present in a variable
Andrea Perlato
df['var_1'].nunique() # How many unque values are present in a variable