pandas which words are most common code example
Example: how to get the top 100 frequent words on a python dataframe colummn
from collections import Counter
Counter(" ".join(df["text"]).split()).most_common(100)
from collections import Counter
Counter(" ".join(df["text"]).split()).most_common(100)