-
-
Save amankharwal/cddd4ff13a961d36fd99a26457af1223 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data = TrendReq(hl='en-US', tz=360) | |
data.build_payload(kw_list=['Machine Learning']) | |
data = data.interest_over_time() | |
fig, ax = plt.subplots(figsize=(20, 15)) | |
data['Machine Learning'].plot() | |
plt.style.use('fivethirtyeight') | |
plt.title('Total Google Searches for Machine Learning', fontweight='bold') | |
plt.xlabel('Year') | |
plt.ylabel('Total Count') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment