Question: 15 Points: Modify the program that removes outliers he following is the description of a problem presented in class and the corresponding Python script that

 15 Points: Modify the program that removes outliers he following is

15 Points: Modify the program that removes outliers he following is the description of a problem presented in class and the corresponding Python script that was implemented to solve ou are now asked to modify this script to implement the function that creates a new copy of the input data with the following two conditions: - The outliers should be replaced by None instead of being removed - All the data points should remain in their original locations. For example, in the test case shown with the script above, the output should be given as: None, 4, None, 2,5,8,3, None, None

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!