← Habibi Lab · Python TutorialsNUMERICAL COMPUTING / NUMPY
NumPy · Python · Numerical analytics
Offline-ready course
← Python Tutorials · Habibi Lab
HABIBI LAB / NUMERICAL COMPUTING

NumPy.
See the data move.

Practical numerical computing without unnecessary theory. Learn how arrays flow, change shape, get cleaned, and power analytics, simulations, images, and machine learning.

Start learning ↗
12guided modules96copyable recipes04real-world projects
THE ARRAY MINDSET · SHAPE (3, 4)
1218243081420265111723
DATA → SHAPE → TRANSFORM → RESULT
Operations happen across entire arrays.
HOW TO USE THIS COURSE

One problem. One tool.
One useful result.

Every module starts with a real situation, shows the exact NumPy command, explains what changes, and ends with a guided challenge. Begin with the mindset, then work through any modules relevant to your job. The code runs in a local Python environment with NumPy installed.

Get started on Windows, macOS, or Linux

In a terminal, use python -m pip install numpy. Then run a Python script or notebook. Each recipe includes its own inputs. Add import numpy as np at the top before running the examples.

python -m pip install numpy
python -c "import numpy as np; print(np.__version__)"

For a complete offline exercise, download the four project files at the end of the course.

INTERACTIVE VISUAL EXPLORERS

See it before you code it.

These controls preview NumPy concepts in your browser. They don't run Python; the corresponding recipes in the lessons show the real NumPy syntax.

EXPLORER 01

Broadcasting compatibility

Try shapes like (3, 1) and (1, 4). NumPy aligns dimensions from the right.

EXPLORER 02

Rows, columns & axes

Sample array: [[12, 22, 36], [10, 20, 30], [8, 18, 28]]

Start with these two core ideas. You'll use them in cleaning, normalization, and modeling.

REAL-WORLD CAPSTONES

Go from examples to working projects.

Each project has a fully runnable starter script in the downloadable project pack. Use these as building blocks, not production-ready financial predictions or complete machine-learning systems.

CAPSTONE 01Quality & Analytics Engine

Check missing values, clean a numeric extract, calculate summary measures, and export an auditable CSV.

Download runnable project pack ↗
CAPSTONE 02Financial Scenario Lab

Simulate illustrative scenarios with reproducible randomness and communicate percentile-based uncertainty.

Download runnable project pack ↗
THE HABIBI LAB STANDARD

Build skill, not memorized syntax.

Use NumPy for dense numerical operations, Pandas for labeled tables and joins, and domain-specific packages when they better fit the work. Always validate shapes, units, missing values, dtype, and assumptions before trusting a result.

Further reading: Broadcasting · Copies and views · Random generators.

← Return to Python library