Box plot

Here, we are interested in the relationship between the categorical variables in our dataset and the SalePrice of the house. The standard plot to examine the relationship between a numerical and a categorical variable is the box plot. A box plot is a convenient way of graphically depicting groups of numerical data through their quartiles. Box plots may also have lines extending vertically from the boxes (whiskers), indicating variability outside the upper and lower quartiles, hence the terms box-and-whisker plot and box-and-whisker diagram. Outliers may be plotted as individual points. Box plots are non-parametric; they display variation in samples of a statistical population without making any assumptions as to the underlying statistical ...

Get Become a Python Data Analyst now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.