Question: Python Program - Please include #Comments to explain each line if possible. Sports data is an area of keen interest both to fans and coaches

Python Program - Please include #Comments to explain each line if possible.

Sports data is an area of keen interest both to fans and coaches alike. In this lab, we will be using a file from http://www.databasebasketball.com/stats_download.htm. Download the file and pick out the player_regular_season.csv file which has over 20,000 rows of basketball data from 1946 to 2009. The data in the file is described at http://www.databasebasketball.com/about/aboutstats.htm. Who was the best NBA basketball player? The NBA is North Americas professional mens basketball league. You are going to write a program to find the best players in NBA history using Python3.4. Using the csv file provided with the lab instruction (The links above). Calculate the efficiency for each player, using the csv file provided with the lab. NBA players performance is evaluated using the following efficiency formula. Efficiency = ( ( pts + reb + asts + stl + blk ) - ( ( fga fgm ) + ( fta ftm ) + turnover ) ) / gp

1. Find the top 50 players with the best efficiency results and Display those 50 from best to worst.

2. Find and display the Player who played the most minutes

3. Find and display the player who play the most games

4. Find and display the Player who scored the most points.

5. Find and display the Player who made the most free throws.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!