Question: Question 1 - Data Manipulating: Pandas ( 2 6 Pts ) Implement the following tasks by using Pandas library. [ Task - 1 . 1
Question Data Manipulating: Pandas Pts
Implement the following tasks by using Pandas library.
Task Pts Load the csv file "nba.csv into a DataFrame and display the first ten rows.
Task Pts Print names of NBA players whose salary is greater than million dollars.
Task Pts In "Height" column, the heights of NBA players are given in feet and inches. Convert the unit of height to cm updating the same column.
Task Pts Create a Data Frame including the names of teams in the first column and the average height of their players in the second column. Print the result.
Task Pts Plot a bar chart using Matplotlib to show the top NBA teams with the highest average height of their players. Set label names and titles.
Task Pts In the "College" column, some information is missing NaN Remove the rows having NaN values in "Collage" column.
Task Pts In the "Salary" column, some information is missing NaN Calculate the average salary of all NBA players and fill the NaN values with the average salary value.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
