sample project · synthetic data

automated weekly report

three exports from three systems, merged into one finished weekly report with a single command, ready to send every Monday.

  • Python
  • pandas
  • Excel (Power Query)
  • 3source files merged
  • 294rows processed
  • 96.3%fill rate, week 39
  • 2.45%defect rate, week 39

the report

what lands in the inbox on Monday

this is the real output of the script, shown live. it is a single html file that can be attached to an email or opened in any browser.

all data in this project is synthetic: random numbers with a fixed seed, no real company or person.

from question to result

how the project went

  1. the challenge

    every Monday someone copies numbers from the order system, the quality system and the maintenance log into a report by hand. the three exports even use different date formats, column names and number formats.

  2. the approach

    I wrote one Python script that reads all three files, fixes their differences, calculates the weekly figures, compares them with the week before and writes the finished report. scheduled every Monday, it runs without anyone touching it.

  3. the result

    the report for week 39 builds in seconds. it shows a fill rate of 96.3%, a defect rate of 2.45% and 10.3 h of unplanned maintenance, and points out that Housing is the first product to check.

the data and the code

everything is in the project folder

you can open every file, rerun the scripts and get the same result. nothing is hidden behind a screenshot.

read the project readme

run it yourself

pip install pandas
python src/generate_data.py
python src/build_report.py

free consultation

tired of building the same report by hand?

message me on whatsapp and tell me which report you build every week. the first consultation is free.

chat with me on whatsapp

not ready to chat? send me an email instead.