Question: Modify Tutorial _ 4 _ Data _ Preprocessing.ipynb to do a few steps with the attached university salary and faculty size data set ( aaup

Modify Tutorial_4_Data_Preprocessing.ipynb to do a few steps with the attached university salary and faculty size data set (aaup.csv).
Here is a description of the variables in the dataset.
Univ_id: id number
Univ_name: Name of institution
State: 2 letter state code
Type: (I, IIA, or IIB)
fp_sal: Average salary - full professors
ac_sal: Average salary - associate professors
at_sal: Average salary - assistant professors
to_sal: Average salary - all ranks
fp_com: Average compensation - full professors
ac_com: Average compensation - associate professors
at_com: Average compensation - assistant professors
to_com: Average compensation - all ranks
fp_#: Number of full professors
ac_#: Number of associate professors
at_#: Number of assistant professors
in_#: Number of instructors
to_#: Number of faculty - all ranks
Tasks
Replicate the preprocessing steps applied to the breast cancer example as guided below:
Input the data into a Pandas dataframe; create the data columns of your choice; print the number of observations and attributes.
Recode the missing values to NaN. This dataset uses *. Print the counts of missing values across the attributes.
How do you handle missing values in this dataset? Explain your selection. (put your answer in the box below)
Explore for outliers. Apply the boxplot display. Are there any outliers? (put responses in the box below)
Are there any duplicate records?
Can you aggregate the institutions within each state using the grouping operation from Pandas? So you should end up with 50 observations. Which statistics are you aggregating on?(describe in the box below)
Explore some sampling from the original data set, not the aggregate. What did you find to be the best? Why? (put answer in the box below)
 Modify Tutorial_4_Data_Preprocessing.ipynb to do a few steps with the attached university

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!