Outliers and shape in pandas
code30 pts
The file data.csv contains the length of 25 calls to a customer helpline in minutes (column hovor_min).
- Compute
q1,q3and the interquartile rangeiqr. - Compute
dolny_plot(lower fence) andhorny_plot(upper fence) by the rule and store inpocet_odlahlychhow many calls lie outside them. - Store the sample standard deviation in
sdand the skewness of all calls insikmost. - Draw a horizontal box plot.
The check compares the numbers and verifies that a plot exists. Then look at the solution to see how two long calls change the mean and the standard deviation.
Python loads when you first use the editorPackages:pandasmatplotlib
The output appears after you run the code.
Run the code and fix the errors until all checks pass.