The first session of the DEPI R5 Professional Data Analyst track: a hands-on introduction to Python built around the mindset of a working data analyst. Every concept is anchored to a realistic scenario — cleaning messy transaction exports, auditing inventory, paginating API results — instead of toy examples.
📓 Main notebook:
Python-S1.ipynb
print()basics: single, double, and triple quotes- Escape characters
- Printing variables alongside text
- 🧪 Challenge: Store Receipt Generator
- Naming rules and reserved keywords
- Inspecting Python's keyword list
- 🧪 Challenge: Monthly Sales Performance Report
- Capturing dynamic user input
- 🧪 Challenge: Dataset Profile Reporter
- Single-value types:
int,float,str,bool - The empty type:
None - Visual reference: Data Types Big Picture
- 📝 Multiple-choice quick check
- 🧪 Challenge: Raw Customer Transaction Cleaner
- String methods and cleaning techniques
- Numeric operations,
math, andrandom - 🧪 Challenge: Annual Revenue Analytics Engine
- Boolean expressions & comparison/logical operators
- Visual reference: Python Flow Control
- 🧪 Challenge: Transaction Record Validator
if/elif/elsestatements- Inline (ternary)
ifexpressions match-case(Python 3.10+)- 🧪 Challenges: Smart Order Processing Engine · Order Summary Badge Generator
- 🏆 Capstone: ShopEasy Analytics — End-of-Day Transaction Audit Pipeline
- Iterable objects: lists, tuples, strings,
range() forloops andwhileloops (condition-based &while True)- Loop control keywords:
break,continue,pass - 🧪 Challenges:
- Weekly Sales Trend Analyzer
- Customer Feedback Word & Sentiment Scanner
- Multi-Store Inventory Restock Auditor
- API Pagination Simulator
- 🏆 Final Capstone: ShopEasy Analytics — Daily Batch Settlement Engine
Each concept follows the same rhythm:
Theory → Live Demo → 🧪 Real-World Challenge
Challenges are framed as tasks a junior data analyst at ShopEasy Analytics would actually face — cleaning raw exports, validating records, auditing stores, and building settlement pipelines — so the skills map directly onto real analyst work.
| File | Description |
|---|---|
Python-S1.ipynb |
Main lecture notebook (the source of truth) |
Python-S1.txt |
Plain-text export of the lecture |
Data Types Big Picture.png |
Visual reference for Python data types |
Python Flow control.png |
Visual reference for flow control |
python_data_types_dashboard.html |
Supplementary interactive reference |
Part of the DEPI R5 Professional Data Analyst program.