Traversals Problems
Finding Outliers
Build a program that finds the outliers in a column. An outlier in this case is when a value in a column has a z-score that is greater than three or less than negative three. A z-score is calculated by taking the value in the column minus the column mean, all divided by the column standard deviation.
Begin by reading through the existing code and then getting the mean and standard deviation from the column. Then calculate the z-score and use an if block to decide if the value is an outlier. You should expect the program to output the following when it is functioning.
200.0 is an outlier.