import pandas as pdAE 06: Opinion articles in The Arizona Daily Wildcat
Application exercise
Part 1 - Data scraping
This will be done in the wildcat-scrape.py Python script within the ae-06-wildcat-scrape folder. Save the resulting data frame in the data/ folder.
Part 2 - Data analysis
Let’s start by loading the packages we will need:
- Load the data you saved into the
datafolder and name itwildcat.
# add code here- Who are the most prolific authors of the 100 most recent opinion articles in The Arizona Daily Wildcat?
# add code here- Draw a line plot of the number of opinion articles published per day in The Arizona Daily Wildcat.
# add code here- What percent of the most recent 100 opinion articles in The Arizona Daily Wildcat mention “climate” in their title?
# add code here- What percent of the most recent 100 opinion articles in The Arizona Daily Wildcat mention “election” in their title or abstract?
# add code here- Come up with another question and try to answer it using the data.
# add code here