How matius2002/data-engineering-exercises works
This repository contains two independent Python exercises, not a larger application. Exercise1.py computes sales totals, average, extrema, and counts above a threshold using both built-in operations and loop-based alternatives. Exercise2.py builds a pandas DataFrame from sample product records, removes duplicate IDs, and prints both versions. The scripts are self-contained; the graph shows only library calls and outputs visible in the excerpts.
Main entry points: Exercise1.py Sales analysis · Exercise2.py Product records
Components 7
Other components
- Sales analysis
Exercise1.py - Statistics mean
- Printed results
Exercise1.py - Product records
Exercise2.py - Pandas DataFrame
- Unique records
Exercise2.py - Printed tables
Exercise2.py
Connections 6
- Sales analysis → Statistics mean: calls mean
Exercise1.py - Sales analysis → Printed results: prints metrics
Exercise1.py - Product records → Pandas DataFrame: builds DataFrame
Exercise2.py - Pandas DataFrame → Unique records: drops duplicates
Exercise2.py - Product records → Printed tables: prints original
Exercise2.py - Unique records → Printed tables: prints filtered
Exercise2.py