Session Ready
Exercise

Bivariate plots in seaborn

Boxplots can be used on univariate or bivariate data. We use boxplots when we have a numeric variable and a categorical variable. Scatter plots are used when we have two numeric variables.

For boxplots and scatter plots, we can use the boxplot() and regplot() methods.

Instructions 1/2
undefined XP
  • 1
  • 2

Use the seaborn boxplot() function to generate a boxplot of the tip column by sex.