Study interactive :: Progress tools open in the Study Hub reader.

All lessons in this module

Next lesson. NumPy Guide

Module 01: Python for Data Science

Core Python libraries for data manipulation, analysis, and visualization. This is the data processing and visualization toolbox for the modules that follow.

What You'll Learn

Essential path (Gate B):

Optional depth (when a project needs them):

ML toolbox curriculum map

Each line below is covered with code examples in the linked guide (same style as the Python basics doc: concept + runnable snippets). The from-scratch ML project uses tutorials that combine these tools.

Topic Where to study
Data processing & visualization (ML toolbox) This phase as a whole; start with NumPy, Pandas, Visualization
NumPy fundamentals, ndarray, attributes & dtypes NumPy Attributes, Creating arrays
Pandas Series, DataFrame & file handling (CSV/Excel etc.) Pandas Series/DataFrames, Reading/Writing
Array creation (existing data, scratch, range, random) NumPy Creating arrays
Data access: indexing, loc / iloc & filtering NumPy Indexing, Pandas Selection
Indexing, slicing, copying & advanced iteration NumPy Copies, Pandas patterns
Modifying data (add/drop rows & columns, assign values) Pandas cleaning/ops (drops, assigns); see also DataFrame basics
Array manipulation, reshaping & transformations NumPy Reshape, Advanced manipulation
Duplicates, missing data & DateTime Pandas Data cleaning, Time series / datetime
Arithmetic, mathematical & logical operations NumPy Array operations, Mathematical ops
Apply, aggregation & GroupBy Pandas Grouping, apply / map
Broadcasting, sorting, searching & counting Broadcasting, Sorting & searching
Matplotlib line, scatter, histogram, bar & pie Visualization Plot types
Statistical analysis & linear algebra basics NumPy stats, Linear algebra
Project: Build an ML model from scratch NumPy NN tutorial, First ML project
Next: Machine learning for beginners Intro ML curriculum map; EDA in 04-exploratory-data-analysis

Modules

01-numpy

Learn NumPy. The foundation of numerical computing in Python.

Topics:

Time Estimate: 1 week

Complete Guide

02-pandas

Learn Pandas. The main library for tabular data manipulation.

Topics:

Time Estimate: 2 weeks

Complete Guide

03-visualization

Create clear charts for EDA and reports.

Topics (Essential):

Topics (Optional depth in the same guide):

Time Estimate: 1-2 weeks

Complete Guide

04-exploratory-data-analysis

Systematic approach to understanding your data before modeling.

Topics:

Time Estimate: 1-2 weeks

Complete Guide

05-data-sources-and-integration

Work with various data sources: APIs, databases, web scraping, and file formats.

Topics:

Time Estimate: 1-2 weeks

Complete Guide

06-regular-expressions-text-processing

Learn regular expressions and text processing for cleaning and analyzing text data.

Topics:

Time Estimate: 1 week

Complete Guide

07-advanced-data-wrangling

Advanced data manipulation: reshaping, pivoting, and transforming data.

Topics:

Time Estimate: 1 week

Complete Guide

08-working-with-dates-times

Dates, times, and time-based data handling.

Topics:

Time Estimate: 1 week

Complete Guide

09-streamlit-dashboards

Build interactive web applications and dashboards for data science and machine learning.

Topics:

Time Estimate: 1 week

Complete Guide

10-flask-web-development

Build web applications and REST APIs with Flask.

Topics:

Time Estimate: 1-2 weeks

Complete Guide

11-tableau-visualization

Create professional data visualizations and dashboards with Tableau.

Topics:

Time Estimate: 1-2 weeks

Complete Guide

Essential path vs optional depth

Module 01 has many lessons. Do not read them all linearly before ML. Match outcomes to Gate B.

Essential path (~4–6 weeks), required before Module 02

Order Lesson Why
1 01-numpy.md Numerical foundation for all ML
2 02-pandas.md Data manipulation
3 03-visualization.md Matplotlib / Seaborn charts (Essential parts)
4 04-exploratory-data-analysis.md Systematic EDA before modeling
5 python-for-data-science-project-tutorial.md End-to-end practice (use CSV-first path if scraping is new)

Essential outcomes (Gate B): NumPy vectorized ops. Pandas load/clean/summarize. At least three plot types with Matplotlib or Seaborn. A short EDA narrative (question, data, chart, insight).

Parallel (Stage 1.5): Start Module 19 SQL after lesson 2–3 if you target analyst or data scientist roles.

After first EDA project: Read Stakeholder Communication (30 min) before presenting charts to non-technical audiences.

Optional depth: revisit when a project needs them

Lesson When to study
05-data-sources-and-integration.md APIs, SQL hooks, scraping beyond CSV/Excel
Plotly / Dash sections in 03-visualization.md Interactive charts
06-regular-expressions-text-processing.md NLP or messy text columns
07-advanced-data-wrangling.md Complex pivots / reshaping
08-working-with-dates-times.md Time series or datetime-heavy data
09-streamlit-dashboards.md Dashboard demo project
10-flask-web-development.md Before Module 13 deployment
11-tableau-visualization.md BI analyst track
python-for-data-science-advanced-topics.md Polars/Dask at scale
python-for-data-science-quick-reference.md Cheat sheet anytime

Optional outcomes: Interactive Plotly/Dash charts. Streamlit or Tableau dashboards. Flask APIs. Scraping and multi-source pipelines. Regex and advanced reshape. Not required to start Module 02.

Exit gate (Stage 1)

Before Module 02, you should pass Gate B in FOUNDATION_AND_JOB_READINESS.md.

Learning Objectives

Essential (before Module 02)

Optional depth (as needed)

Projects

  1. Data Analysis Project: Analyze a real dataset (e.g., sales data, weather data)
  2. Visualization Project: Create a dashboard with multiple visualizations
  3. Build a machine learning model from scratch, after NumPy and Pandas, combine skills in an end-to-end numeric pipeline: for example, follow the Prerequisites Project Tutorial: Neural Network from Scratch (NumPy only) and/or First ML Project Tutorial for a full sklearn-style workflow

Tips

Documentation & Learning Resources

NumPy

Official Documentation:

Free Courses & Tutorials:

Video Tutorials:

Pandas

Official Documentation:

Free Courses & Tutorials:

Video Tutorials:

Practice:

Matplotlib & Seaborn

Official Documentation:

Free Courses & Tutorials:

Video Tutorials:

Additional Resources


Previous Module: 00-prerequisites
Next Module: 02-introduction-to-ml

Parallel (Stage 1.5): 19-sql-database-fundamentals after NumPy/Pandas lessons, for analyst and data scientist tracks.

All lessons in this module

Next lesson. NumPy Guide