Skip to content

A python web-scraping code to get football championship statistics

Notifications You must be signed in to change notification settings

vincepota-zz/FootB-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FootB-stats

A python web-scraping code to get football championship statistics. Results are discussed in my blog

The code scraps data from the wikipedia pages of European tournaments (Serie A, Premier League, La Liga, Ligue 1, Bundesliga) and gets some interesting statistics out of it.

  • FootB.py contains the functions necessary for the web-scraping bit;

  • stats.py uses the functions in FootB.py to create the stacked table (pandas dataframe) with the data;

  • This python notebook contains a tutorial and some usage examples.

The code relies on BeautifulSoup, Pandas, numpy and seaborn (for some plots only).

About

A python web-scraping code to get football championship statistics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published