Web Scraping NBA Games With Python [Full Walkthrough W/Code]

Описание к видео Web Scraping NBA Games With Python [Full Walkthrough W/Code]

We'll learn how to scrape NBA box scores with python and combine them into a pandas DataFrame that you can use for machine learning or data analysis.

We'll download standings data and box scores using playwright, parse them with beautifulsoup, and clean them up using pandas. By the end, we'll have a DataFrame with NBA stats from several seasons.

You can see the full code here - https://github.com/dataquestio/projec... .

Chapters

00:00 Introduction
01:07 Scraping box scores
01:55 - Scraping NBA standings with playwright
23:00 - Parsing NBA standings with BeautifulSoup
28:56 - Parsing box score links with BeautifulSoup
34:27 - Downloading box scores with playwright
40:16 - Parsing box scores with beautifulsoup
48:32 - Reading the line score with pandas
52:53 - Reading stats tables with pandas
55:42 - Getting stats ready for machine learning
1:15:49 - Wrap-up and next steps

---------------------------------
Join 1M+ Dataquest learners today!
Master data skills and change your life.
Sign up for free: https://bit.ly/3O8MDef

Комментарии

Информация по комментариям в разработке