Once you’ve found the center of your data, you can shift to identifying the extremes of your dataset: the minimum and maximum values. These values, taken with the mean and median, begin to indicate the shape of the underlying dataset. Take the histogram below as an example:

The minimum value of this data is 18, and the maximum value is 76.

You can calculate the range using the following:

`$range = max - min$`

The range of this dataset is

`$range = 76 - 18 = 58$`

### Instructions

**1.**

Using the following lines of code, we found the values for the minimum and maximum values of our dataset. Replace the relevant `?????????`

with these values in the second paragraph of **summary.txt**.

The minimum is $2,459:

cp_data[' Average Covered Charges '].min()

Result:

2459

The maximum is $81,083:

cp_data[' Average Covered Charges '].max()

Result:

81083

**2.**

Calculate the range of values in the dataset. Replace the relevant `?????????`

with your answer. If you don’t have a calculator application readily available, we’ve provided the correct answer in the hint.

# Sign up to start coding

By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.