Join the conversation
sir can you share link for "andrew abela guide for plotting "
Reply
Best video Ever
Reply
Love Your Videos
awesome
Reply
love it
Reply
# ADD column of family size
df['family_size']=pd.cut(df['parch']+ df['sibsp']+ 1 , [0,1,2,6],
labels=['single','couple','parents'])
Reply
FOR LMPLOT:
sns.lmplot( x='age', y='fare', data=df[df['fare']<300])
plt.show()
Reply
df['family_size'] = df['sibsp'] + df['parch'] + 1
Reply
sns.lmplot(x='fare', y='age', data=df[df['fare'] < 300], hue='pclass')
plt.show()
Reply
good
very good
Reply
1:20:15 Assignment done!
sns.Implot(data=df.loc[df["fare"] < 250], x="age", y="fare")
Reply