Python - Conte quantos únicos em uma coluna

df['var_1'].nunique()   # How many unque values are present in a variable
Andrea Perlato