← Learning Hub
Advanced

Project: A Monthly Sales Report

Let's answer real business questions from the sales file, the way an analyst would: load, clean, calculate, and write clear findings.

This project follows a real analyst's workflow: load, prepare, answer specific business questions, save a summary, and write clear findings. The last step matters most - numbers only help when someone can act on them.

Example
You can edit this code.

Writing the findings

Numbers alone don't help anyone. Turn them into short, plain sentences with the evidence:

  • Electronics brings about two thirds of revenue (68%) from under half the orders (7 of 15) - keep these in stock.
  • Revenue fell 45% in February and recovered in March - check what changed (offers, stock running out).
  • Earbuds and Smart Watches top each city - a good choice for the home page.

Next steps

  • Try the same steps on a public dataset from data.gov.in or Kaggle
  • Put the report in a Jupyter notebook with charts from the last lesson
  • Learn SQL for getting data from databases (see the SQL course)
  • Move on to the AI basics course to predict numbers with scikit-learn
With only 15 orders, these are examples, not real trends. In real work, say how much data a finding is based on, and be careful with small numbers.
Key points
  • Start from clear business questions.
  • Back every finding with a number.
  • Mention how much data a conclusion is based on.

📝 Test yourself

1. Why use reindex(month_order) on monthly totals?
2. What's the best way to share findings?
3. Fill in the method that removes repeats, keeping the first row for each city:
.("city")