Case 11 · 3 levels
Where to open the first showroom
Harbor & Pine sells only online and the CEO wants a first showroom. Frame the question, clean the messy state and city labels, rank states and metros on completed revenue, and write the recommendation.
StartThis case unlocks when you finish any one of these chapters. The levels are readable now.
Harbor & Pine has sold online since day one. Now the board is asking about a first physical showroom, and Catherine wants to know where it should go. Questions like this sound like a lookup, “which state sells the most?”, but the answer depends on how you clean the location labels, which customers you count, and whether you rank states or the cities a showroom actually serves.
This case is the whole job, the way you would do it at work:
- Frame the question so it can be answered: which customers, which measure, which period, at which level of geography, and what decision it feeds.
- Check the data: the
stateandcitycolumns were typed by customers, so the same place appears under several spellings, and some people signed up twice. - Analyse in SQL, pandas or Excel, whichever you prefer: completed revenue and buyers by cleaned state, then consumer revenue by metro.
- Recommend: pick the conclusion you would send, with the numbers and the caveats.
The case opens when you finish any one of the cleaning chapters it builds on: SQL chapter 10,
pandas chapter 8 or Excel chapter 5. It uses TRIM, UPPER and COUNT(DISTINCT ...) (or the
.str methods and nunique in pandas, or UPPER, TRIM and SUMIF on a prepared sheet).
Levels
- Frame the showroom question
from Catherine Hale, CEO
smart goal, problem framing, data cleaning, segmentation
- Clean and rank the locations
from Catherine Hale, CEO
data cleaning, trim, upper, count distinct, deduplication, cte, conditional aggregation, yoy
- Recommend: where does the showroom go?
from Catherine Hale, CEO
recommendation, caveats, segmentation, data quality, data storytelling