Зміст курсу
Gaining Insights with Data Visualization
Gaining Insights with Data Visualization
Box Plots
Box plots are useful for visualizing the distribution of a single numeric variable and identifying potential outliers. They are particularly effective for comparing the distribution of data across different categories or groups.
A box plot consists of a box, which encloses the first and third quartiles, and whiskers, which typically extend from the quartiles to the minimum and maximum values within 1.5 times the interquartile range. These components make box plots an excellent tool for summarizing data distributions clearly and concisely.
Завдання
Swipe to start coding
- Import the
seabornlibrary with thesnsalias. - Import the
pyplotmodule of thematplotliblibrary with thepltalias. - Generate three arrays with 100 observations each, with standard deviations (
std) ranging from 1 to 4, exclusive. - Use the appropriate
seabornfunction to create a box plot. - Display the resulting plot.
Рішення
Mark tasks as Completed
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 2
AVAILABLE TO ULTIMATE ONLY