I am trying to create a histogram based on frequent/common words, but I only get errors when running the code. I managed to find the 10 most common words, but I can't visualize it in a histogram.
description_list = df['description'].values.tolist()
from collections import Counter
Counter(" ".join(description_list).split()).most_common(10)
#histogram
plt.bar(x, y)
plt.title("10 most frequent tokens in description")
plt.ylabel("Frequency")
plt.xlabel("Words")
plt.show
