Python -Diagrammfrequenz der Spaltenwerte

# Plot frequency
my_df['my_var'].value_counts().plot.bar()

# Add column freq to the DF
df['freq']=df.groupby(by='Name')['Name'].transform('count')
Andrea Perlato