NumPy Mastery
  • Home
  • Docs Index
  • Introduction
  • Installation
  • ndarray
  • Data Types
  • Attributes
  • Creation
  • Statistics
  • Indexing & Slicing

Documentation Index

Browse through all available NumPy tutorials and references.

1. Introduction to NumPy

Learn what NumPy is, why it is faster than Python lists, and explore its common applications in Data Science.

2. NumPy Installation

Step-by-step instructions on how to install NumPy using pip, binary packages, and source compilation.

3. NumPy ndarray

Understand the N-dimensional array object, memory layouts, shape, strides, and row/column-major order.

4. NumPy Data Types

A comprehensive guide on scalar types, dtype objects, character codes, and type conversion in NumPy arrays.

5. NumPy Attributes

Learn to extract structural information using attributes like ndim, shape, size, itemsize, and nbytes.

6. Creating Arrays

Explore various functions like zeros, ones, arange, linspace, and empty to generate predefined NumPy arrays.

7. Like Creation

Create new arrays by inheriting shape and data type using zeros_like, ones_like, empty_like, and full_like.

8. Statistical Functions

Perform statistical and mathematical operations like max, min, mean, sum, variance, and standard deviation.

9. Array Manipulation

Change array shapes, swap axes, flattening arrays, and more using reshape and advanced techniques.

10. Reshaping Arrays

Change array dimensions across 1D, 2D, and 3D shapes using reshape, the -1 dimension trick, and error handling.

11. Stacking Arrays

Combine arrays along different axes using stack, vstack, hstack, dstack, and column_stack.

12. Array Concatenation

Join arrays along rows, columns, or higher dimensions using concatenate and expand_dims.

13. Iterating Arrays

Traverse arrays using Python for loops, coordinate indices, nditer, broadcasting, and in-place updates.

14. Splitting Arrays

Divide arrays into multiple sub-arrays along any axis using split, array_split, hsplit, vsplit, and dsplit.

15. Transposing Arrays

Rearrange array dimensions, swap rows and columns, and permute multi-axis tensors using transpose and .T.

16. Sorting & Searching

Sort values, find indices, search extrema, and extract conditional data with sort, argsort, lexsort, argmax, nonzero, where, and extract.

17. Indexing & Slicing

Learn how to access, slice, and modify elements of a NumPy array in both 1D and 2D.

18. Creation Practice

Test your array creation skills with 100 comprehensive practice questions covering Parts 1-4.

Copyright © 2026 Learn NumPy. All rights reserved.