internalsGet Pro

Module 03 · Lesson 10 of 10Pro

Design: a script that loads daily sales files

Level
Beginner
Topic
Python for data engineering
Reading time
28 min

When you finish this page you can

  1. Design a Python loader for files that partners drop into a folder, from requirements and estimates down to tables, checks and code.
  2. Load a file only when its sender says it is complete, using a control file with a row count and a checksum.
  3. Make each file replace exactly the rows it is about, so reruns and corrected files never count a sale twice.
  4. Keep one bad file from stopping the rest of the night, and show the missing partner instead of a smaller number.
  1. Design: a first analytics pipeline for an online store30 min
  2. Reading and writing CSV, JSON and Parquet in Python14 min
  3. Reading and writing databases from Python16 min
  4. Packaging pipelines: config, dependencies and Docker16 min

₹1.44 crore that the report never saw

On Monday, 9 November, sold about ₹1.44 crore of goods through other companies’ shopping apps. Daniel’s 07:00 report on Tuesday showed none of it.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan