From the course: Python for Marketing (2019)
Unlock this course with a free trial
Join today to access over 22,600 courses taught by industry experts.
Visualizing Google Trends data - Python Tutorial
From the course: Python for Marketing (2019)
Visualizing Google Trends data
- [Instructor] In this video, you are going to visualize Google Trends data. To do that, we need to pass the trends data DataFrame to the Pandas .plot function. We're going to pass a secondary Y axis, which is seo agency. Chosen that because I know that that data is much greater than all of the other columns' data. So it dwarfs it when it's on the same axis. And we're going to pass a custom figure size of 15 and five, so it's going to be rectangular. We pass that we can see the two axis. The seo agency is on the right here and it's trending up the way, but what if we wanted to choose to look at this data as something to invest in? What is the cumulative sum of this data if we were to rank and chase those keywords? Well to do that, we pass that DataFrame again. Then we apply the function cumsum, which will calculate the cumulative sum of that data and then we again plot it, and again, I always pass a custom figsize and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Introduction to pandas1m 7s
-
(Locked)
Installing Jupyter1m 30s
-
(Locked)
Importing Google Analytics data4m 48s
-
(Locked)
Importing Google Search Console data1m
-
(Locked)
Importing Facebook and AdWords data2m 29s
-
(Locked)
Accessing the Google Trends API2m 14s
-
(Locked)
Visualizing Google data2m 40s
-
(Locked)
Plotting Facebook and Google Ads data3m 18s
-
(Locked)
Visualizing Google Trends data1m 38s
-
-
-
-
-
-
-