October 2018
Beginner to intermediate
676 pages
18h 30m
English
Here are the steps to plot the required graphs:
g1 = sns.jointplot(x='Pies', y='Smoothies', data=snacks_sales, kind='reg', marginal_kws=dict(bins=15, fit=norm, rug=True, color='darkblue'), space=0.1, color='g')g1.ax_marg_x.set_title('1. Regression Plot - Histogram, KDE, Normal, Rug', size=20, color='g')
g2 = sns.jointplot(x='Cookies', y='Smoothies', data=snacks_sales, s=100, marginal_kws=dict(kde=True, rug=True, hist=False, color='orange'), space=0.1, color='g', edgecolor="blue", alpha=0.6)g2.ax_marg_x.set_title('2. Scatter Plot - KDE, Rug', size=20, color='g')
g3 = sns.jointplot(x='Period', y='Smoothies', data=snacks_sales, kind='kde', space=0, ...
Read now
Unlock full access