Web Scraping Exercise: Reading the Data

Perform web scraping to extract specific bank ranking tables from a Wikipedia page, parse the HTML response using BeautifulSoup, and store the extracted data in pandas DataFrames.

Time to practice and experiment with web scraping. In this exercise, you’ll extract data from a Wikipedia page about the world’s largest banks.

The web page contains two tables ranking the largest banks in the world. The first table ranks banks by total assets.

Get hands-on with 1400+ tech skills courses.