Session Ready
Exercise

Looking at specific items

Sometimes, you may want to look at specific items rather than looking at overall baskets. From the Online_Retail_clean dataset, you will select baskets containing herb markers. You will be looking at two specific items which have the following description: "HERB MARKER ROSEMARY" and "HERB MARKER THYME". Your task will be to find out the number of baskets containing these items (both individually and in combination).

Instructions 1/3
undefined XP
  • 1
    • Compute the number of occurrences of the item "HERB MARKER THYME" as well as the number of baskets containing it.
    • 2
      • Compute the number of occurrences of the item "HERB MARKER ROSEMARY" as well as the number of baskets containing it.
    • 3
      • Compute the number of baskets containing both items "HERB MARKER ROSEMARY" and "HERB MARKER THYME".