Python - Zählen Sie wie viele einzigartig in einer Kolumne
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