from collections import Counter
Counter(" ".join(df["text"]).split()).most_common(100)
I’m pretty sure this would give you what you want. (You might have to remove some non-words from the counter result before calling most_common.)
from collections import Counter
Counter(" ".join(df["text"]).split()).most_common(100)
I’m pretty sure this would give you what you want. (You might have to remove some non-words from the counter result before calling most_common.)