I need to display distinct keyword and its frequency (count) from queires searched on Google. then I need to select top 10 words by their frequency.
Input example:
| site | query |
|---|---|
| google.com | https://www.google.com/search?q=shoe+store+in+new+york |
| google.com | https://www.google.com/search?q=new+york+attractions |
Output example if df is chosen for displaying results:
| keyword | count |
|---|---|
| shoe | 1 |
| store | 1 |
| in | 1 |
| new | 2 |
| york | 2 |
| attractions | 1 |
So I extracted the keywords from queries but I don't really know what to do next. I'll appreciate any help