Scrape HTML Tables Without Leaving Pandas
Jul 20, 2020 by Jeff Hale for Deepnote
Webscraping is often a pain. Researching, finding, and installing the libraries you need can be time consuming. Finding the content you need in the HTML can take time. Getting everything to work can be finicky.🙁 In this article, I'll show you how to use the Python pandas library to scrape HTML tables with single line of code! It doesn't work in all cases, but when you have HTML tables on a website it can make your life much easier. 😀 You'll see how to use it to get data from websites about soccer and weightlifting. ⚽️ 🏋