python|using Seaborn library
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
It will take less than 1 minute to register for lifetime. Bonus Tip - We don't send OTP to your email id Make Sure to use your own email id for free books and giveaways
Answer ( 1 )
import numpy as np
import pandas as pd
from matplotlib import pyplot as plt
import seaborn as sns
plt.figure()
sns.lmplot(x=’xxxx’, y=’yyyyy’, data=df,
fit_reg=False,
hue=’yyyyy’)
plt.show()
note:here xxx=column name, yyy=column name, hue=column name