About 48,300 results
Open links in new tab
  1. NumPy

    Nearly every scientist working in Python draws on the power of NumPy. NumPy brings the computational power of languages like C and Fortran to Python, a language much easier to learn …

  2. NumPy - Installing NumPy

    The only prerequisite for installing NumPy is Python itself. If you don’t have Python yet and want the simplest way to get started, we recommend you use the Anaconda Distribution - it includes Python, …

  3. NumPy quickstart — NumPy v2.3 Manual

    NumPy’s main object is the homogeneous multidimensional array. It is a table of elements (usually numbers), all of the same type, indexed by a tuple of non-negative integers.

  4. NumPy: the absolute basics for beginners — NumPy v2.5.dev0 Manual

    NumPy functions, as well as operations like indexing and slicing, will return views whenever possible. This saves memory and is faster (no copy of the data has to be made).

  5. NumPy - News

    Dec 8, 2024 · Type annotations for large parts of NumPy, and a new numpy.typing submodule containing ArrayLike and DtypeLike aliases that users and downstream libraries can use when …

  6. Broadcasting — NumPy v2.3 Manual

    The term broadcasting describes how NumPy treats arrays with different shapes during arithmetic operations. Subject to certain constraints, the smaller array is “broadcast” across the larger array so …

  7. numpy.power — NumPy v2.3 Manual

    numpy.power # numpy.power(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature]) = <ufunc 'power'> # First array elements raised to powers …

  8. Data types — NumPy v2.3 Manual

    NumPy numerical types are instances of numpy.dtype (data-type) objects, each having unique characteristics. Once you have imported NumPy using import numpy as np you can create arrays …

  9. numpy.where — NumPy v2.3 Manual

    numpy.where # numpy.where(condition, [x, y, ]/) # Return elements chosen from x or y depending on condition.

  10. The N-dimensional array (ndarray) — NumPy v2.3 Manual

    Each of the arithmetic operations (+, -, *, /, //, %, divmod(), ** or pow(), <<, >>, &, ^, |, ~) and the comparisons (==, <, >, <=, >=, !=) is equivalent to the corresponding universal function (or ufunc for …