Answered step by step
Verified Expert Solution
Question
1 Approved Answer
What proportion of baskets are over $ 1 0 in sales value? What proportion of baskets are over $ 2 0 in sales value? Hint:
What proportion of baskets are over $ in sales value? What proportion of baskets are over $ in sales
value?
Hint: You need to use groupby and summarize Depending on your approach you may or may not
use mutate
# test your ability to right this code from scratch rather than just
# filling in the blanks :
Exercise
Which stores had the largest total salesvalue hint: sumsalesvalue, narm TRUE Which stores
had the largest average loyalty discount as defined below?
Hint: You can calculate loyalty discount as a percentage of regular price using the following logic:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started