Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created Oct 4, 2020
Embed
What would you like to do?
word_freq_dict = {}
word_freq_dict = Counter(words)
print(word_freq_dict.most_common()[0:10])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment