seaborn: lmplot

wonderful world·2021년 9월 21일
0

sns.lmplot(x="bmi", y="charges", hue="smoker", data=insurance_data)

To further emphasize this fact, we can use the sns.lmplot command to add two regression lines, corresponding to smokers and nonsmokers. (You'll notice that the regression line for smokers has a much steeper slope, relative to the line for nonsmokers!)

reference

profile
hello wirld

0개의 댓글