NumPy & Pandas for Beginners: A 20–22 Session Roadmap
By Mohit Agarwal, Paath.online12 min read
Want to learn data analysis with Python without getting overwhelmed? This practical roadmap helps you build skills with the two essential libraries — NumPy and Pandas — across 20–22 guided sessions, with room to adjust practice time to your starting level and goals.
🗺️ Session-by-Session Plan (1–22)
- Python refresher, notebooks, dataset setup
- NumPy arrays: creation, shapes, dtypes
- Indexing, slicing, boolean masks
- Vectorization and broadcasting
- Aggregation: sum, mean, axis operations
- Pandas Series and DataFrame basics
- Reading CSV/Excel, selecting rows/cols
- Filtering, sorting, and type conversion
- Handling missing values
- GroupBy and aggregations
- Merging and joining datasets
- Reshaping: melt, pivot, stack/unstack
- Datetime handling and time series basics
- Apply/map, custom functions, vectorized ops
- String and text data cleaning
- Categories, sorting, and efficient data types
- Combining datasets: practice with real-world joins
- Exploratory data analysis and summary tables
- Basic charts and communicating findings
- Exporting results and making a repeatable notebook
- Mini-project: clean and analyze a real dataset
- Mini-project review, debugging, and next steps toward ML
⚠️ Common Pitfalls (and Fixes)
- Using pure Python loops in Pandas — prefer vectorization.
- Forgetting to set index or parse dates on load.
- Chained assignment warnings — use .loc with care.
🧩 Mini‑Project Ideas
- Analyze student scores across terms
- Create a simple sales report with trends
- Clean and explore a public dataset (e.g., Kaggle)
Study alongside the official NumPy and pandas manuals
A roadmap is only as good as the references behind it. Keep these tabs open while you practice so terminology stays precise and you learn stable APIs—not outdated blog snippets.
- NumPy fundamentals: start with NumPy quickstart and the ndarray reference.
- pandas workflows: follow the Getting started guides and keep the User guide handy for indexing rules and missing-data semantics.
- Python basics: when typing errors confuse you, cross-check docs.python.org for objects, iterators, and file I/O.
What comes after the roadmap: toward machine learning
Once you can clean a dataset end-to-end, you are ready to connect tables to models. Keep the first steps small and interpretable—linear models and decision trees beat opaque stacks for learning.
- Read scikit-learn's basic tutorial and work through one supervised learning example with a held-out test set.
- Browse educational notebooks and datasets on Hugging Face docs when you want modern deep-learning context—after you are solid on train/test evaluation.
- If you plan board-aligned AI electives, balance tool tutorials with policy reading on education.gov.in and notices on cbse.gov.in.
Next Steps
Finish NumPy & Pandas, then move to Machine Learning.