I have a huge DataFrame ('df') with different columns from which one stores names as string values ('name'). Now, I would like to simply plot a histogram with the frequency of each name within the DataFrame. However, the data contains thousands of unique names and that's why I would like to only plot a histogram for names from a certain frequency on:
df.name.value_counts() > 100
Can I give this kind of filter/mask to the plot? I already tried to use the 'range' argument in plt.hist():
plt.hist(df['name'], range=[100, 151]);
But it still displays all other names but without their frequency…