|Submited on :||Mon, 12th of Feb 2018 - 04:30:41 AM|
|Post ID :||7wvc5s|
|Post Name :||t3_7wvc5s|
|Post Type :||link|
|Subreddit Type :||public|
|Subreddit ID :||t5_2tk95|
Created this using Python's BeautifulSoup, pandas, and matplotlib.
This scatterplot shows the New England Patriots' beneficiary yards for seasons 2009 - 2017, relative to the average of each season. The red dots indicate Superbowl wins. Beneficiary yards are the total amount of yards the team gains from a penalty thrown against the opposing team.
This was a personal project I did because I just started learning Python last week and took this as an opportunity to do some application. I found the whole process of putting this together pretty cool, considering nothing was done manually, apart from finding a website with the info I wanted. The motivation behind this was the on-going controversy about the refs showing partiality to the Patriots. For most years in this chart, the New England Patriots were above average in beneficiary yards, with the 2017 season being unusually above average. However, their 2014 season Superbowl win was done with an above average amount of flags thrown against them, and with below below average beneficiary yards. Their 2016 season Superbowl win was done with above average beneficiary yards, but not enough to consider it unusual. Obviously, this data is inconclusive to whether or not the refs do side with the Patriots, but I had a lot of fun learning about Python web scraping and data frames. Thanks for checking this out!