.value_counts(drop_na=Fals code example Example: relativefrequencies of the unique values pandas df.value_counts(normalize=True)