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

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

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 NumPyPandasVisualization
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

Master Pandas. The most important library for data manipulation.

Topics:

Time Estimate: 2 weeks

Complete Guide →

03-visualization

Create beautiful and informative visualizations.

Topics:

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

Master 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 15 lessons, too much to read linearly before starting ML. Use this split:

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 Communicate findings
4 04-exploratory-data-analysis.md Systematic EDA before modeling
5 05-data-sources-and-integration.md APIs, files, basic SQL hooks
6 python-for-data-science-project-tutorial.md End-to-end practice

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
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 portfolio 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

Exit gate (Stage 1)

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

Learning Objectives

By the end of this phase, you should be able to:

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.