DataLeaguebeta

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).

  1. Compute q1, q3 and the interquartile range iqr.
  2. Compute dolny_plot (lower fence) and horny_plot (upper fence) by the 1.5⋅IQR1.5 \cdot IQR rule and store in pocet_odlahlych how many calls lie outside them.
  3. Store the sample standard deviation in sd and the skewness of all calls in sikmost.
  4. 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.