Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import seaborn as sns
- import pandas as pd
- res = {
- 'الذكاء': 8,
- 'الاصطناعي': 9,
- 'هو': 2,
- 'سلوك': 1,
- 'وخصائص': 1,
- 'معينة': 1,
- 'تتسم': 1
- }
- df = = pd.DataFrame(res.items(), columns=['word', 'count'])
- sns.set(style="whitegrid")
- ax = sns.barplot(x="count", y="word", data=df)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement