Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Who was the best NBA basketball player? The NBA is North America’s professional

ID: 3806689 • Letter: W

Question

Who was the best NBA basketball player? The NBA is North America’s professional men’s basketball league. You are going to python write a program to find the best players in NBA history. Using the csv file provided with the lab.  

Calculate the efficiency for each player, using the csv file provided with the lab. NBA player’s performance is evaluated using the following efficiency formula.
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.
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 got the most penalties. 6. Find and display the Player who made the most free throws.

(PYTHON)

Explanation / Answer

Please provide the data file or sample data from file so that read operations could be performed.

After that we can calculate all the above by simply storing everything in a list and then processing it for a player at a time.