Validating range
Now it's time to validate our numerical data. We saw in the previous lesson using .describe() that the largest unemployment rate during 2021 was nearly 34 percent, while the lowest was just above zero.
Your task in this exercise is to get much more detailed information about the range of unemployment data using Seaborn's boxplot, and you'll also visualize the range of unemployment rates in each continent to understand geographical range differences.
unemployment is available, and the following have been imported for you: Seaborn as sns, matplotlib.pyplot as plt, and pandas as pd.
Bu egzersiz
Exploratory Data Analysis in Python
kursunun bir parçasıdırEgzersiz talimatları
- Print the minimum and maximum unemployment rates, in that order, during 2021.
- Create a boxplot of 2021 unemployment rates (on the x-axis), broken down by continent (on the y-axis).
Uygulamalı interaktif egzersiz
Bu örnek kodu tamamlayarak bu egzersizi bitirin.
# Print the minimum and maximum unemployment rates during 2021
print(____, ____)
# Create a boxplot of 2021 unemployment rates, broken down by continent
____
plt.show()