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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.