October 2018
Beginner to intermediate
676 pages
18h 30m
English
We will take the only subset of our Snacks Sales dataset to avoid cluttering plots with too many variables to plot. We will only include five items and the promotion variable, which will be used as the hue variable. The following code extracts the required subset:
snacks_sales_items = snacks_sales.loc[:,['Cakes', 'Cookies', 'Pies', 'Smoothies','Coffee','Promotion']]
Read now
Unlock full access