Skip to main content
NumPy v2.2 Manual - Home NumPy v2.2 Manual - Home
  • User Guide
  • API reference
  • Building from source
  • Development
  • Release notes
  • Learn
    • NEPs
  • GitHub
  • User Guide
  • API reference
  • Building from source
  • Development
  • Release notes
  • Learn
  • NEPs
  • GitHub

Section Navigation

  • NumPy’s module structure
  • Array objects
  • Universal functions (ufunc)
  • Routines and objects by topic
    • Constants
    • Array creation routines
    • Array manipulation routines
    • Bit-wise operations
    • String functionality
    • Datetime support functions
    • Data type routines
    • Mathematical functions with automatic domain
    • Floating point error handling
    • Exceptions and Warnings (numpy.exceptions)
    • Discrete Fourier Transform (numpy.fft)
    • Functional programming
    • Input and output
    • Indexing routines
      • numpy.c_
      • numpy.r_
      • numpy.s_
      • numpy.nonzero
      • numpy.where
      • numpy.indices
      • numpy.ix_
      • numpy.ogrid
      • numpy.ravel_multi_index
      • numpy.unravel_index
      • numpy.diag_indices
      • numpy.diag_indices_from
      • numpy.mask_indices
      • numpy.tril_indices
      • numpy.tril_indices_from
      • numpy.triu_indices
      • numpy.triu_indices_from
      • numpy.take
      • numpy.take_along_axis
      • numpy.choose
      • numpy.compress
      • numpy.diag
      • numpy.diagonal
      • numpy.select
      • numpy.place
      • numpy.put
      • numpy.put_along_axis
      • numpy.putmask
      • numpy.fill_diagonal
      • numpy.nditer
      • numpy.ndenumerate
      • numpy.ndindex
      • numpy.nested_iters
      • numpy.flatiter
      • numpy.iterable
    • Linear algebra (numpy.linalg)
    • Logic functions
    • Masked array operations
    • Mathematical functions
    • Miscellaneous routines
    • Polynomials
    • Random sampling (numpy.random)
    • Set routines
    • Sorting, searching, and counting
    • Statistics
    • Test support (numpy.testing)
    • Window functions
  • Typing (numpy.typing)
  • Packaging (numpy.distutils)
  • NumPy C-API
  • Array API standard compatibility
  • CPU/SIMD optimizations
  • Thread Safety
  • Global Configuration Options
  • NumPy security
  • Status of numpy.distutils and migration advice
  • numpy.distutils user guide
  • NumPy and SWIG