NumPy arrays: Data Tools worked examples
Understand shape, memory and numerical operations with inspectable arrays.
NumPy arrays
Understand shape, memory and numerical operations with inspectable arrays.
NumPy broadcasting rules: align axes before adding arrays
Predict broadcast shapes from the right, normalize columns correctly and diagnose an accidental outer operation with checked arrays.
tutorial · 4 min readNumPy views vs copies: predict which array changes
Trace shared memory through slicing, advanced indexing and assignment, and set an explicit copy boundary in a numerical workflow.
troubleshooting · 4 min readNumPy projects for beginners: three array projects with complete code
Build three NumPy projects with complete Python code: summarise weekly sales, clean sensor readings and scale features. Understand shapes, masks and broadcasting.
project · 9 min read