Project: the Tindahan business review
Last updated
Every January the owners sit down with the year's books and ask: how did we do, which stores are growing, are our customers staying, and what should we expect next year? In this project you'll answer those questions with everything from Stage 9: real growth after inflation, year-on-year comparisons per day open, customer retention by store, and a projection with a range. Then you'll write a one-page review that sizes each recommendation to its evidence.
By the end of this lesson you can
- Plan a business review as questions, measures and comparisons
- Report growth in real terms and month by month against the year before
- Combine sales and customer data to find where the business is weakest
- Write recommendations sized to the strength of the evidence
Plan it
The files: books.csv (one row per store per month, January 2022 to December 2024), cpi.csv, cards.csv and card_months.csv. Write the plan before running anything (9.3):
| question | measure | compared with |
|---|---|---|
| Did the business grow? | Takings in real (December-2024) pesos | 2023 |
| Which stores are growing? | Real takings by store; takings per day open, by month | The same month of 2023 |
| Are customers staying? | Share of new card holders still buying 3 months after joining; share with nothing since September | The other stores |
| What should 2025 look like? | 2024 by month times the growth seen from 2023 to 2024 | A low, middle and high range |
Each notebook starts with the same setup cell: it adds the CPI, real takings, per_day and year.
The year in real pesos
Run the cells.
The four stores took ₱3,403,023 in 2024, up 5.7% on 2023. After inflation, that's 2.4% real growth, less than 2023's 3.6%. By store, in real terms:
| store | 2024 | nominal | real |
|---|---|---|---|
| Tanauan | ₱809,801 | +13.4% | +9.9% |
| Lipa | ₱909,079 | +8.1% | +4.8% |
| Batangas | ₱1,124,352 | +2.5% | −0.7% |
| Rosario | ₱559,791 | −1.5% | −4.5% |
Two stores grew, Batangas stood still, and Rosario shrank. The whole-business 2.4% averages over very different stories (9.7).
Month by month
Is Rosario's fall one bad stretch or the whole year? Compare each month with the same month of 2023, per day open (9.6), so closures and month lengths don't distort it. Run the cells.
- Rosario was below the year before in 9 of 12 months, and in every month from May to December. That's a steady decline, not one bad month.
- Tanauan and Lipa were above in all 12.
- Batangas was down in 2 (August and November), small and scattered: ordinary variation around no growth.
- October is no longer a problem month: per day open, every store but Rosario was above October 2023. The typhoon closed the stores; it didn't drive customers away.
Customers
Does the card data tell the same story? Run the cell.
| store | members | kept 3 months | lapsed |
|---|---|---|---|
| Rosario | 103 | 49.5% | 76.7% |
| Tanauan | 122 | 57.4% | 63.9% |
| Batangas | 209 | 61.7% | 63.6% |
| Lipa | 146 | 63.7% | 56.8% |
Rosario keeps the fewest new members and has lost the most: three in four have bought nothing since September. Two different sources, the books and the cards, point the same way. That's much stronger than either alone.
The cards don't explain Tanauan's growth, though: it keeps fewer members than Batangas. Its growth may come from customers without cards, which this data can't see. Say so.
2025, with a range
Project each store's 2025 as its 2024, month by month, times the growth seen from 2023 to 2024 (9.9). Run the cell.
All stores: ₱3,426,000 to ₱3,804,000, middle ₱3,588,000. Two cautions to put beside it:
- Adding the four low ends is cautious: all four stores having their worst year together is unlikely, so the true low is probably a little higher.
- Rosario's range assumes nothing changes. Its middle (₱554,000) is below 2024, and if its decline speeds up, it falls below the low end too.
The review
Add a Markdown cell at the end, written for the owners, one page at most. Lead with the answer; give each recommendation the strength its evidence earns (9.10). For example:
2024: modest growth, uneven by store. The stores took ₱3.40 million, 5.7% more than 2023, or 2.4% more after inflation.
1. Rosario is shrinking. Find out why before spending on it. (Strong evidence.) Real takings fell 4.5%; per day open, it was below 2023 in 9 of 12 months, including every month since May. It keeps the fewest new card holders (49.5% after three months) and 77% of its card holders haven't bought since September. Next: talk to lapsed card holders and check for a new competitor nearby.
2. Tanauan is growing fastest. Make sure it doesn't run short. (Strong evidence.) Real takings up 9.9%, above 2023 every month.
3. Don't repeat the March sign-up gift as it was. (Worth testing.) March's new members lapsed much faster. Try a different gift on half the new sign-ups next time.
4. Rosario's new shelf layout: no verdict yet. (Not enough evidence.) September's 4.7% rise is within normal month-to-month swings. Compare with the year before each month until March.
2025: about ₱3.43 to ₱3.80 million if things carry on as in 2024; Rosario is the biggest risk to that range.
Write the numbers in it with f-strings, so they come from the data.
Finished
Run the notebook from the top and check the review's numbers match the outputs.
Look at what you used:
- A plan first (9.3): each question with its measure and its comparison.
- Real pesos (9.5): growth after inflation, so 5.7% became 2.4%.
- The same month last year, per day open (9.4, 9.6): a steady decline told apart from a bad month.
- Groups, not just the total (9.7): Rosario's story was hidden in the average.
- Two sources agreeing: the books and the cards.
- A range, not a number (9.9), with what could break it.
- Recommendations sized to the evidence (9.10).
Stage 10 is about sharing work like this: turning the notebook into a report and a dashboard, making it reproducible, and handling customer data responsibly.
Sources
Every example on this page was run with Python 3.14, and its output and error messages are copied from it. These pages cover the same ground in more depth.
- Philippine Statistics Authority: Consumer Price Index and inflation rate: the published CPI, for real work
- Hyndman and Athanasopoulos, Forecasting: Principles and Practice, 3rd ed., section 5.2: the seasonal naive method
- pandas: pivot_table: stores by year, and stores by month