October 2018
Beginner to intermediate
676 pages
18h 30m
English
Here are the steps to plot the required plots:
sns.distplot(snacks_sales.Coffee, color='g', rug=True, rug_kws= {"color": 'm', "height": 0.1})plt.title('1. Distribution Plot of Coffee Sales with rug=True', size=15, color='g', weight='bold')plt.show();
sns.distplot(snacks_sales.Cookies, vertical=True, hist_kws={"histtype": "step", "linewidth": 3, "alpha": 1, "color": "indigo", "label": "Histogram"}, kde_kws={"shade": True, "color": "orange", "lw": 3, "label": "KDE"}) plt.title('2. Horizontal Distribution Plot of Cookies Sales', size=15, color='g', ...Read now
Unlock full access