Week 4
Pandas and Matplotlib
DataFrames, CSV, Excel, cleaning, filtering, and charts.
Learning goals
- Series and DataFrame
- Reading CSV and Excel
- Filtering rows and columns
- Handling missing values
- Plotting line, bar, histogram, scatter
Suggested classroom flow
| Session | Focus | Output |
|---|---|---|
| Day 1 | Concept introduction and guided examples | Notebook or script |
| Day 2 | Hands-on lab and teacher walkthrough | Working code |
| Day 3 | Practice tasks and discussion | Assignment draft |
| Day 4 | Assessment and mini project | Submission |
Mini project
IPL Data Dashboard Starter
Outcome for the week: students should finish with usable code, a short explanation, and at least one visual or result artifact.
Quick MCQ preview
Q1. What is the main table structure in pandas?
Explanation: DataFrame is the core tabular structure.
Q2. Which function removes null rows?
Explanation: dropna removes nulls.
Q3. A histogram is best for showing?
Explanation: Histograms show distribution.