1. 学习
  2. /
  3. 课程
  4. /
  5. Python for R Users

Connected

练习

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.

说明 1 / 共 2 个

undefined XP
    1
    2

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