Challenge: Define metricChallenge: Define metric

Task

In this task, you must add the 'Average Earnings per Click metric' to the control and test samples. After that, you should plot the histograms of the new columns and mark the mean values ​​of the metrics on the graph.

  1. Import libraries.
  2. Read the files.
  3. Define the 'Average Earnings per Click' metric and add it to both samples.
  4. Add a line of the mean value.

Everything was clear?

Section 5. Chapter 2
toggle bottom row