Zählen Sie Anteil an Pandas

import pandas as pd

dogs = pd.DataFrame({
    'dog_name':['REX', 'WALTER', 'BLAZE', 'JASPER', 'TEDDY'], 
    'breed':['KOBE', 'OSCAR', 'OSCAR', 'KOBE', 'MAX']
})

print(dogs.value_counts(normalize=True))
Mohammed Albaqer