Search
Searching.
- numpy.ix_
...NumPy reference Routines and objects by topic Indexing routines numpy.ix_...
- numpy.lib.mixins (Python module, in numpy.lib.mixins)
numpy.distutils
user guide...py.distutils.core.setup(..) function. config.paths(*paths) --- applies ``glob.glob(..) to items of paths if necessary. Fixes paths item that is relative to config.local_path. config.get_subpackage(subpackage_name,subpackage_path=None) — ret...
numpy.polynomial
...mation can be found in the docstring for the module of interest. This package provides convenience classes for each of six different kinds of polynomials: Name Provides Polynomial Power series Chebyshev Chebyshev series Legendre Lege...
- Array broadcasting in Numpy
...Array broadcasting in Numpy
- Array creation
...and numpy.vander define properties of special matrices represented as 2D arrays. np.eye(n, m) defines a 2D identity matrix. The elements where i=j (row index and column index are equal) are 1 and the rest are 0, as such: >>> import numpy as...
- Array creation routines
...classes through. ascontiguousarray(a[, dtype, like]) Return a contiguous array (ndim >= 1) in memory (C order). asmatrix(data[, dtype]) Interpret the input as a matrix. astype(x, dtype, /, *[, copy, device]) Copies an array to a specifie...
- Array iterator API
...itemsize for itemsize, then add another dimension to the end with size ndim and stride itemsize. To do the Hessian matrix, you do the same thing but add two dimensions, or take advantage of the symmetry and pack it into 1 dimension with a...
- Building from source
...Building from source
- Building the NumPy API and reference docs
...Contributing to NumPy Building the NumPy API and reference docs
- Chebyshev Series (
numpy.polynomial.chebyshev
)...ebyshev series class. Constants chebdomain An array object represents a multidimensional, homogeneous array of fixed-size items. chebzero An array object represents a multidimensional, homogeneous array of fixed-size items. chebon...
- Constants of the
numpy.ma
module...masked array. If the underlying data is a subclass of numpy.ndarray, it is returned as such. >>> x = np.ma.array(np.matrix([[1, 2], [3, 4]]), mask=[[0, 1], [1, 0]]) >>> x.data matrix([[1, 2], [3, 4]]) The type of the data can be a...
- Contributing to NumPy
...th the “good-first-issue” label. Instead, you’ll find issues labeled “Sprintable”. These issues can either be: Easily fixed when you have guidance from an experienced contributor (perfect for working in a sprint). A learning opportunity fo...
- CPU build options
...le, armhf, aarch64, s390x or unknown. Compiler: The compiler name. It should be one of gcc, clang, msvc, icc, iccw or unix-like. CPU baseline: Requested: The specific features and options to cpu-baseline as-is. Enabled: The final set of e...
- ctypes foreign function interface (
numpy.ctypeslib
)...er_path to take any path-like object. Parameters: libnamepath-likeName of the library, which can have ‘lib’ as a prefix, but without an extension. loader_pathpath-likeWhere the library can be found. Returns: ctypes.cdll[libpath]libr...
- Data type classes (
numpy.dtypes
)...NumPy reference NumPy’s module structure Data type classes (numpy.d
- Data type promotion in NumPy
...Data type promotion in NumPy When mixing two different data types, NumPy has to determine the appropriate dtype for the result of the operation. This step...
- Data types
...numpy.bytes_ (S character code), and arbitrary byte sequences, via numpy.void (V character code). All of the above are fixed-width data types. They are parameterized by a width, in either bytes or unicode points, that a single data element...
- Discrete Fourier Transform (
numpy.fft
)...NumPy reference NumPy’s module structure Discrete Fourier Transform
- Exceptions and Warnings (
numpy.exceptions
)...when casting a complex dtype to a real dtype. VisibleDeprecationWarning Visible deprecation warning. RankWarning Matrix rank warning. Exceptions AxisError(axis[, ndim, msg_prefix]) Axis supplied was invalid. DTypePromotionError...
- Extending
numpy.random
via Cython...NumPy reference NumPy’s module structure Random sampling (nump
- For downstream package authors
...g NumPy’s versioning and API/ABI stability NumPy uses a standard, PEP 440 compliant, versioning scheme: major.minor.bugfix. A major release is highly unusual and if it happens it will most likely indicate an ABI break. NumPy 1.xx releases h...
- Hermite Series, “Physicists” (
numpy.polynomial.hermite
)...Hermite series class. Constants hermdomain An array object represents a multidimensional, homogeneous array of fixed-size items. hermzero An array object represents a multidimensional, homogeneous array of fixed-size items. hermon...
- HermiteE Series, “Probabilists” (
numpy.polynomial.hermite_e
)...rmiteE series class. Constants hermedomain An array object represents a multidimensional, homogeneous array of fixed-size items. hermezero An array object represents a multidimensional, homogeneous array of fixed-size items. herme...
- How to contribute to the NumPy documentation
...tutorials, how-tos, and explanations. Reporting defects is another way to contribute. We discuss both. Contributing fixes We’re eager to hear about and fix doc defects. But to attack the biggest problems we end up having to defer or over...
- How to extend NumPy
...w reference to a PyArray_Descr* object, while input will hold a borrowed reference. Therefore, if this conversion were mixed with another conversion (say to an integer) and the data-type conversion was successful but the integer conversion...
- How to write a NumPy how-to
...NumPy user guide NumPy how-tos How to write a NumPy how-to
- I/O with NumPy
...NumPy user guide NumPy fundamentals I/O with NumPy
- Input and output
..., allow_pickle, ...]) Load arrays or pickled objects from .npy, .npz or pickled files. save(file, arr[, allow_pickle, fix_imports]) Save an array to a binary file in NumPy .npy format. savez(file, *args[, allow_pickle]) Save several array...
- Installing NumPy
...Installing NumPy
- Internal organization of NumPy arrays
...out the raw array data. The data buffer is typically what people think of as arrays in C or Fortran, a contiguous (and fixed) block of memory containing fixed-sized data items. NumPy also contains a significant set of data that describes ho...
- Interoperability with NumPy
...array_ufunc__ protocol A universal function (or ufunc for short) is a “vectorized” wrapper for a function that takes a fixed number of specific inputs and produces a fixed number of specific outputs. The output of the ufunc (and its methods...
- Laguerre Series (
numpy.polynomial.laguerre
)...Laguerre series class. Constants lagdomain An array object represents a multidimensional, homogeneous array of fixed-size items. lagzero An array object represents a multidimensional, homogeneous array of fixed-size items. lagone...
- Legacy random generation
...alues is returned. If size is a tuple, then an array with that shape is filled and returned. Compatibility Guarantee A fixed bit generator using a fixed seed and a fixed series of calls to ‘RandomState’ methods using the same parameters wil...
- Legendre Series (
numpy.polynomial.legendre
)...Legendre series class. Constants legdomain An array object represents a multidimensional, homogeneous array of fixed-size items. legzero An array object represents a multidimensional, homogeneous array of fixed-size items. legone...
- Lib module (
numpy.lib
)...ubmodules array_utils Miscellaneous utils. format Binary serialization introspect Introspection helper functions. mixins Mixin classes for custom array types that don't inherit from ndarray. npyio IO related functions. scimath Wrappe...
- Linear algebra (
numpy.linalg
)...ctions related to LU decomposition and the Schur decomposition, multiple ways of calculating the pseudoinverse, and matrix transcendentals such as the matrix logarithm. Some functions that exist in both have augmented functionality in scip...
- Matrix library (
numpy.matlib
)...NumPy reference NumPy’s module structure Matrix library (numpy.matlib)...
- Memory alignment
...NumPy user guide Under-the-hood documentation for developers Memory
- Memory management in NumPy
...NumPy reference NumPy C-API Memory management in NumPy
- Miscellaneous
...Miscellaneous
- Miscellaneous routines
...NumPy reference Routines and objects by topic Miscellaneous routine
- NumPy 1.10.0 Release Notes
...tween x.diagonal() and np.diagonal(x), with the methods preserving subtypes while the functions did not. This has been fixed and the functions now behave like the methods, preserving subtypes except in the case of matrices. Matrices are sp...
- NumPy 1.10.1 Release Notes
...blems. The differences are: Compiling with msvc9 or msvc10 for 32 bit Windows now requires SSE2. This was the easiest fix for what looked to be some miscompiled code when SSE2 was not used. If you need to compile for 32 bit Windows systems...
- NumPy 1.10.2 Release Notes
...ving views changing the dtype of multidimensional Fortran arrays that need to be dealt with over a longer timeframe. Fix swig bug in numpy.i Relaxed stride checking revealed a bug in array_is_fortran(a), that was using PyArray_ISFORTRAN t...
- NumPy 1.10.3 Release Notes
...NumPy user guide Release notes NumPy 1.10.3 Release Notes
- NumPy 1.10.4 Release Notes
...NumPy 1.10.4 Release Notes This release is a bugfix source release motivated by a segfault regression. No windows binaries are provided for this release, as there appear...
- NumPy 1.11.0 Release Notes
...rdering array axes. Build System Changes Numpy now uses setuptools for its builds instead of plain distutils. This fixes usage of install_requires='numpy' in the setup.py files of projects that depend on Numpy (see gh-6551). It potenti...
- NumPy 1.11.1 Release Notes
...NumPy 1.11.1 Release Notes Numpy 1.11.1 supports Python 2.6 - 2.7 and 3.2 - 3.5. It fixes bugs and regressions found in Numpy 1.11.0 and includes several build related improvements. Wheels for Linux, Windo...
- NumPy 1.11.2 Release Notes
...NumPy 1.11.2 Release Notes Numpy 1.11.2 supports Python 2.6 - 2.7 and 3.2 - 3.5. It fixes bugs and regressions found in Numpy 1.11.1 and includes several build related improvements. Wheels for Linux, Windo...
- NumPy 1.11.3 Release Notes
...NumPy 1.11.3 Release Notes Numpy 1.11.3 fixes a bug that leads to file corruption when very large files opened in append mode are used in ndarray.tofile. It supp...
- NumPy 1.12.0 Release Notes
...Notes This release supports Python 2.7 and 3.4 - 3.6. Highlights The NumPy 1.12.0 release contains a large number of fixes and improvements, but few that stand out above all others. That makes picking out the highlights somewhat arbitrary...
- NumPy 1.12.1 Release Notes
...NumPy 1.12.1 Release Notes NumPy 1.12.1 supports Python 2.7 and 3.4 - 3.6 and fixes bugs and regressions found in NumPy 1.12.0. In particular, the regression in f2py constant parsing is fixed. Wheels...
- NumPy 1.13.0 Release Notes
...arrays. New PyArray_MapIterArrayCopyIfOverlap added to NumPy C-API. See below for details. Deprecations Calling np.fix, np.isposinf, and np.isneginf with f(x, y=out) is deprecated - the argument should be passed as f(x, out=out), which...
- NumPy 1.13.1 Release Notes
...NumPy 1.13.1 Release Notes This is a bugfix release for problems found in 1.13.0. The major changes are fixes for the new memory overlap detection and temporary...
- NumPy 1.13.2 Release Notes
...NumPy 1.13.2 Release Notes This is a bugfix release for some problems found since 1.13.1. The most important fixes are for CVE-2017-12852 and temporary elision....
- NumPy 1.13.3 Release Notes
...NumPy 1.13.3 Release Notes This is a bugfix release for some problems found since 1.13.1. The most important fixes are for CVE-2017-12852 and temporary elision....
- NumPy 1.14.0 Release Notes
...NumPy 1.14.0 Release Notes Numpy 1.14.0 is the result of seven months of work and contains a large number of bug fixes and new features, along with several changes with potential compatibility issues. The major change that users will...
- NumPy 1.14.1 Release Notes
...NumPy 1.14.1 Release Notes This is a bugfix release for some problems reported following the 1.14.0 release. The major problems fixed are the following. Problem...
- NumPy 1.14.2 Release Notes
...NumPy 1.14.2 Release Notes This is a bugfix release for some bugs reported following the 1.14.1 release. The major problems dealt with are as follows. Residual...
- NumPy 1.14.3 Release Notes
...NumPy 1.14.3 Release Notes This is a bugfix release for a few bugs reported following the 1.14.2 release: np.lib.recfunctions.fromrecords accepts a list-of-list...
- NumPy 1.14.4 Release Notes
...NumPy 1.14.4 Release Notes This is a bugfix release for bugs reported following the 1.14.3 release. The most significant fixes are: fixes for compiler instructi...
- NumPy 1.14.5 Release Notes
...NumPy 1.14.5 Release Notes This is a bugfix release for bugs reported following the 1.14.4 release. The most significant fixes are: fixes for compilation errors...
- NumPy 1.14.6 Release Notes
...NumPy 1.14.6 Release Notes This is a bugfix release for bugs reported following the 1.14.5 release. The most significant fixes are: Fix for behavior change in m...
- NumPy 1.15.0 Release Notes
...e Python versions supported by this release are 2.7, 3.4-3.7. The wheels are linked with OpenBLAS v0.3.0, which should fix some of the linalg problems reported for NumPy 1.14. Highlights NumPy has switched to pytest for testing. A new nu...
- NumPy 1.15.1 Release Notes
...NumPy 1.15.1 Release Notes This is a bugfix release for bugs and regressions reported following the 1.15.0 release. The annoying but harmless RuntimeWarning tha...
- NumPy 1.15.2 Release Notes
...NumPy 1.15.2 Release Notes This is a bugfix release for bugs and regressions reported following the 1.15.1 release. The matrix PendingDeprecationWarning is now...
- NumPy 1.15.3 Release Notes
...NumPy 1.15.3 Release Notes This is a bugfix release for bugs and regressions reported following the 1.15.2 release. The Python versions supported by this releas...
- NumPy 1.15.4 Release Notes
...NumPy 1.15.4 Release Notes This is a bugfix release for bugs and regressions reported following the 1.15.3 release. The Python versions supported by this releas...
- NumPy 1.16.0 Release Notes
...Notes This NumPy release is the last one to support Python 2.7 and will be maintained as a long term release with bug fixes until 2020. Support for Python 3.4 been dropped, the supported Python versions are 2.7 and 3.5-3.7. The wheels on...
- NumPy 1.16.1 Release Notes
...NumPy 1.16.1 Release Notes The NumPy 1.16.1 release fixes bugs reported against the 1.16.0 release, and also backports several enhancements from master that seem appropriate...
- NumPy 1.16.2 Release Notes
...NumPy 1.16.2 Release Notes NumPy 1.16.2 is a quick release fixing several problems encountered on Windows. The Python versions supported are 2.7 and 3.5-3.7. The Windows problems a...
- NumPy 1.16.3 Release Notes
...NumPy 1.16.3 Release Notes The NumPy 1.16.3 release fixes bugs reported against the 1.16.2 release, and also backports several enhancements from master that seem appropriate...
- NumPy 1.16.4 Release Notes
...NumPy 1.16.4 Release Notes The NumPy 1.16.4 release fixes bugs reported against the 1.16.3 release, and also backports several enhancements from master that seem appropriate...
- NumPy 1.16.5 Release Notes
...NumPy 1.16.5 Release Notes The NumPy 1.16.5 release fixes bugs reported against the 1.16.4 release, and also backports several enhancements from master that seem appropriate...
- NumPy 1.16.6 Release Notes
...NumPy 1.16.6 Release Notes The NumPy 1.16.6 release fixes bugs reported against the 1.16.5 release, and also backports several enhancements from master that seem appropriate...
- NumPy 1.17.0 Release Notes
...faster, more accurate transforms and better handling of datasets of prime length. See below under Improvements. New radix sort and timsort sorting methods. It is currently not possible to choose which will be used. They are hardwired to th...
- NumPy 1.17.1 Release Notes
...NumPy 1.17.1 Release Notes This release contains a number of fixes for bugs reported against NumPy 1.17.0 along with a few documentation and build improvements. The Python versions...
- NumPy 1.17.2 Release Notes
...NumPy 1.17.2 Release Notes This release contains fixes for bugs reported against NumPy 1.17.1 along with a some documentation improvements. The most important fix is for...
- NumPy 1.17.3 Release Notes
...NumPy 1.17.3 Release Notes This release contains fixes for bugs reported against NumPy 1.17.2 along with a some documentation improvements. The Python versions supported...
- NumPy 1.17.4 Release Notes
...NumPy 1.17.4 Release Notes This release contains fixes for bugs reported against NumPy 1.17.3 along with some build improvements. The Python versions supported in this re...
- NumPy 1.17.5 Release Notes
...NumPy 1.17.5 Release Notes This release contains fixes for bugs reported against NumPy 1.17.4 along with some build improvements. The Python versions supported in this re...
- NumPy 1.18.0 Release Notes
...NumPy 1.18.0 Release Notes In addition to the usual bug fixes, this NumPy release cleans up and documents the new random C-API, expires a large number of old deprecations, and i...
- NumPy 1.18.1 Release Notes
...NumPy 1.18.1 Release Notes This release contains fixes for bugs reported against NumPy 1.18.0. Two bugs in particular that caused widespread problems downstream were: T...
- NumPy 1.18.2 Release Notes
...NumPy 1.18.2 Release Notes This small release contains a fix for a performance regression in numpy/random and several bug/maintenance updates. The Python versions supported in th...
- NumPy 1.18.3 Release Notes
...NumPy 1.18.3 Release Notes This release contains various bug/regression fixes. The Python versions supported in this release are 3.5-3.8. Downstream developers should use Cython >= 0.29.15 for...
- NumPy 1.18.4 Release Notes
...otes This is the last planned release in the 1.18.x series. It reverts the bool("0") behavior introduced in 1.18.3 and fixes a bug in Generator.integers. There is also a link to a new troubleshooting section in the documentation included in...
- NumPy 1.18.5 Release Notes
...NumPy user guide Release notes NumPy 1.18.5 Release Notes
- NumPy 1.19.0 Release Notes
...ns have been expired, and documentation has been improved. The polishing of the random module continues apace with bug fixes and better usability from Cython. The Python versions supported for this release are 3.6-3.8. Downstream developers...
- NumPy 1.19.1 Release Notes
...NumPy 1.19.1 Release Notes NumPy 1.19.1 fixes several bugs found in the 1.19.0 release, replaces several functions deprecated in the upcoming Python-3.9 release,...
- NumPy 1.19.2 Release Notes
...NumPy 1.19.2 Release Notes NumPy 1.19.2 fixes several bugs, prepares for the upcoming Cython 3.x release. and pins setuptools to keep distutils working while ups...
- NumPy 1.19.3 Release Notes
...small maintenance release with two major improvements: Python 3.9 binary wheels on all supported platforms. OpenBLAS fixes for Windows 10 version 2004 fmod bug. This release supports Python 3.6-3.9 and is linked with OpenBLAS 0.3.12 to a...
- NumPy 1.19.4 Release Notes
...ity check on import, raising an error if the problem is detected. Microsoft is aware of the problem and has promised a fix, users should upgrade when it becomes available. This release supports Python 3.6-3.9 Contributors A total of 1 peop...
- NumPy 1.19.5 Release Notes
...NumPy 1.19.5 Release Notes NumPy 1.19.5 is a short bugfix release. Apart from fixing several bugs, the main improvement is the update to OpenBLAS 0.3.13 that works around the...
- NumPy 1.20.0 Release Notes
...l, the functions should be imported directly from NumPy or SciPy. (gh-16156) outer and ufunc.outer deprecated for matrix np.matrix use with outer or generic ufunc outer calls such as numpy.add.outer. Previously, matrix was converted to an...
- NumPy 1.20.1 Release Notes
...NumPy 1.20.1 Release Notes NumPy 1,20.1 is a rapid bugfix release fixing several bugs and regressions reported after the 1.20.0 release. Highlights The distutils bug that ca...
- NumPy 1.20.2 Release Notes
...NumPy 1.20.2 Release Notes NumPy 1.20.2 is a bugfix release containing several fixes merged to the main branch after the NumPy 1.20.1 release. Contributors A total of 7...
- NumPy 1.20.3 Release Notes
...NumPy 1.20.3 Release Notes NumPy 1.20.3 is a bugfix release containing several fixes merged to the main branch after the NumPy 1.20.2 release. Contributors A total of 7...
- NumPy 1.21.0 Release Notes
...roved annotations, new PCG64DXSM bitgenerator for random numbers. In addition there are the usual large number of bug fixes and other improvements. The Python versions supported for this release are 3.7-3.9. Official support for Python 3.1...
- NumPy 1.21.1 Release Notes
...NumPy 1.21.1 Release Notes The NumPy 1.21.1 is maintenance release that fixes bugs discovered after the 1.21.0 release and updates OpenBLAS to v0.3.17 to deal with problems on arm64. The Python...
- NumPy 1.21.2 Release Notes
...NumPy 1.21.2 Release Notes The NumPy 1.21.2 is a maintenance release that fixes bugs discovered after 1.21.1. It also provides 64 bit manylinux Python 3.10.0rc1 wheels for downstream testing. Not...
- NumPy 1.21.3 Release Notes
...NumPy 1.21.3 Release Notes NumPy 1.21.3 is a maintenance release that fixes a few bugs discovered after 1.21.2. It also provides 64 bit Python 3.10.0 wheels. Note a few oddities about Python...
- NumPy 1.21.4 Release Notes
...NumPy 1.21.4 Release Notes The NumPy 1.21.4 is a maintenance release that fixes a few bugs discovered after 1.21.3. The most important fix here is a fix for the NumPy header files to make them wo...
- NumPy 1.21.5 Release Notes
...NumPy 1.21.5 Release Notes NumPy 1.21.5 is a maintenance release that fixes a few bugs discovered after the 1.21.4 release and does some maintenance to extend the 1.21.x lifetime. The Python...
- NumPy 1.21.6 Release Notes
...NumPy user guide Release notes NumPy 1.21.6 Release Notes
- NumPy 1.22.0 Release Notes
...ux distributions dropping 32 bit support. All 64 bit wheels are also linked with 64 bit integer OpenBLAS, which should fix the occasional problems encountered by folks using truly huge arrays. Expired deprecations Deprecated numeric style...
- NumPy 1.22.1 Release Notes
...NumPy 1.22.1 Release Notes The NumPy 1.22.1 is a maintenance release that fixes bugs discovered after the 1.22.0 release. Notable fixes are: Fix f2PY docstring problems (SciPy) Fix reduction typ...
- NumPy 1.22.2 Release Notes
...NumPy 1.22.2 Release Notes The NumPy 1.22.2 is maintenance release that fixes bugs discovered after the 1.22.1 release. Notable fixes are: Several build related fixes for downstream projects a...
- NumPy 1.22.3 Release Notes
...NumPy 1.22.3 Release Notes NumPy 1.22.3 is a maintenance release that fixes bugs discovered after the 1.22.2 release. The most noticeable fixes may be those for DLPack. One that may cause som...
- NumPy 1.22.4 Release Notes
...NumPy 1.22.4 Release Notes NumPy 1.22.4 is a maintenance release that fixes bugs discovered after the 1.22.3 release. In addition, the wheels for this release are built using the recently rel...
- NumPy 1.23.0 Release Notes
...llow a smoother transition. (gh-20220) np.loadtxt has received several changes The row counting of numpy.loadtxt was fixed. loadtxt ignores fully empty lines in the file, but counted them towards max_rows. When max_rows is used and the f...
- NumPy 1.23.1 Release Notes
...NumPy 1.23.1 Release Notes NumPy 1.23.1 is a maintenance release that fixes bugs discovered after the 1.23.0 release. Notable fixes are: Fix searchsorted for float16 NaNs Fix compilation on...
- NumPy 1.23.2 Release Notes
...NumPy 1.23.2 Release Notes NumPy 1.23.2 is a maintenance release that fixes bugs discovered after the 1.23.1 release. Notable features are: Typing changes needed for Python 3.11 Wheels for P...
- NumPy 1.23.3 Release Notes
...NumPy 1.23.3 Release Notes NumPy 1.23.3 is a maintenance release that fixes bugs discovered after the 1.23.2 release. There is no major theme for this release, the main improvements are for s...
- NumPy 1.23.4 Release Notes
...NumPy 1.23.4 Release Notes NumPy 1.23.4 is a maintenance release that fixes bugs discovered after the 1.23.3 release and keeps the build infrastructure current. The main improvements are fixe...
- NumPy 1.23.5 Release Notes
...NumPy 1.23.5 Release Notes NumPy 1.23.5 is a maintenance release that fixes bugs discovered after the 1.23.4 release and keeps the build infrastructure current. The Python versions supported...
- NumPy 1.24 Release Notes
...ation release. Highlights are Many new deprecations, check them out. Many expired deprecations, New F2PY features and fixes. New “dtype” and “casting” keywords for stacking functions. See below for the details, This release supports Pytho...
- NumPy 1.24.1 Release Notes
...NumPy 1.24.1 Release Notes NumPy 1.24.1 is a maintenance release that fixes bugs and regressions discovered after the 1.24.0 release. The Python versions supported by this release are 3.8-3.1...
- NumPy 1.24.2 Release Notes
...NumPy 1.24.2 Release Notes NumPy 1.24.2 is a maintenance release that fixes bugs and regressions discovered after the 1.24.1 release. The Python versions supported by this release are 3.8-3.1...
- NumPy 1.24.3 Release Notes
...NumPy 1.24.3 Release Notes NumPy 1.24.3 is a maintenance release that fixes bugs and regressions discovered after the 1.24.2 release. The Python versions supported by this release are 3.8-3.1...
- NumPy 1.24.4 Release Notes
...NumPy 1.24.4 Release Notes NumPy 1.24.4 is a maintenance release that fixes bugs and regressions discovered after the 1.24.3 release. The Python versions supported by this release are 3.8-3.1...
- NumPy 1.25.0 Release Notes
...now MUSL wheels. Support the Fujitsu C/C++ compiler. Object arrays are now supported in einsum Support for inplace matrix multiplication (@=). We will be releasing a NumPy 1.26 when Python 3.12 comes out. That is needed because distutils...
- NumPy 1.25.1 Release Notes
...NumPy 1.25.1 Release Notes NumPy 1.25.1 is a maintenance release that fixes bugs and regressions discovered after the 1.25.0 release. The Python versions supported by this release are 3.9-3.1...
- NumPy 1.25.2 Release Notes
...NumPy 1.25.2 Release Notes NumPy 1.25.2 is a maintenance release that fixes bugs and regressions discovered after the 1.25.1 release. This is the last planned release in the 1.25.x series, th...
- NumPy 1.26.0 Release Notes
...lease are: Python 3.12.0 support. Cython 3.0.0 compatibility. Use of the Meson build system Updated SIMD support f2py fixes, meson and bind(x) support Support for the updated Accelerate BLAS/LAPACK library The Python versions supported in...
- NumPy 1.26.1 Release Notes
...NumPy 1.26.1 Release Notes NumPy 1.26.1 is a maintenance release that fixes bugs and regressions discovered after the 1.26.0 release. In addition, it adds new functionality for detecting BLAS...
- NumPy 1.26.2 Release Notes
...NumPy 1.26.2 Release Notes NumPy 1.26.2 is a maintenance release that fixes bugs and regressions discovered after the 1.26.1 release. The 1.26.release series is the last planned minor release...
- NumPy 1.26.3 Release Notes
...NumPy 1.26.3 Release Notes NumPy 1.26.3 is a maintenance release that fixes bugs and regressions discovered after the 1.26.2 release. The most notable changes are the f2py bug fixes. The Pyth...
- NumPy 1.26.4 Release Notes
...NumPy 1.26.4 Release Notes NumPy 1.26.4 is a maintenance release that fixes bugs and regressions discovered after the 1.26.3 release. The Python versions supported by this release are 3.9-3.1...
- NumPy 1.3.0 Release Notes
...NumPy 1.3.0 Release Notes This minor includes numerous bug fixes, official python 2.6 support, and several new features such as generalized ufuncs. Highlights Python 2.6 support...
- NumPy 1.4.0 Release Notes
...NumPy 1.4.0 Release Notes This minor includes numerous bug fixes, as well as a few new features. It is backward compatible with 1.3.0 release. Highlights New datetime dtype suppo...
- NumPy 1.5.0 Release Notes
...ing) Dot method for ndarrays Ndarrays now have the dot product also as a method, which allows writing chains of matrix products as >>> a.dot(b).dot(c) instead of the longer alternative >>> np.dot(a, np.dot(b, c)) linalg.slogdet fu...
- NumPy 1.6.0 Release Notes
...NumPy 1.6.0 Release Notes This release includes several new features as well as numerous bug fixes and improved documentation. It is backward compatible with the 1.5.0 release, and supports Python 2.4 - 2.7 and 3....
- NumPy 1.6.1 Release Notes
...NumPy 1.6.1 Release Notes This is a bugfix only release in the 1.6.x series. Issues Fixed #1834: einsum fails for specific shapes #1837: einsum throws nan or...
- NumPy 1.6.2 Release Notes
...NumPy 1.6.2 Release Notes This is a bugfix release in the 1.6.x series. Due to the delay of the NumPy 1.7.0 release, this release contains far more fixes than...
- NumPy 1.7.0 Release Notes
...NumPy 1.7.0 Release Notes This release includes several new features as well as numerous bug fixes and refactorings. It supports Python 2.4 - 2.7 and 3.1 - 3.3 and is the last release that supports Python 2.4 - 2.5...
- NumPy 1.7.1 Release Notes
...NumPy 1.7.1 Release Notes This is a bugfix only release in the 1.7.x series. It supports Python 2.4 - 2.7 and 3.1 - 3.3 and is the last series that supports Pyt...
- NumPy 1.7.2 Release Notes
...NumPy 1.7.2 Release Notes This is a bugfix only release in the 1.7.x series. It supports Python 2.4 - 2.7 and 3.1 - 3.3 and is the last series that supports Pyt...
- NumPy 1.8.0 Release Notes
...C- and F-contiguous arrays. (It is also currently known that this breaks Cython code using memoryviews, which will be fixed in Cython.) THIS WILL BECOME THE DEFAULT IN A FUTURE RELEASE, SO PLEASE TEST YOUR CODE NOW AGAINST NUMPY BUILT WITH...
- NumPy 1.8.1 Release Notes
...NumPy 1.8.1 Release Notes This is a bugfix only release in the 1.8.x series. Issues fixed gh-4276: Fix mean, var, std methods for object arrays gh-4262: remov...
- NumPy 1.8.2 Release Notes
...NumPy 1.8.2 Release Notes This is a bugfix only release in the 1.8.x series. Issues fixed gh-4836: partition produces wrong results for multiple selections in...
- NumPy 1.9.0 Release Notes
...may change the RNG state vs. numpy < 1.9 A bug in one of the algorithms to generate a binomial random variate has been fixed. This change will likely alter the number of random draws performed, and hence the sequence location will be differ...
- NumPy 1.9.1 Release Notes
...NumPy 1.9.1 Release Notes This is a bugfix only release in the 1.9.x series. Issues fixed gh-5184: restore linear edge behaviour of gradient to as it was in <...
- NumPy 1.9.2 Release Notes
...NumPy 1.9.2 Release Notes This is a bugfix only release in the 1.9.x series. Issues fixed #5316: fix too large dtype alignment of strings and complex types #5...
- NumPy 2.0 migration guide
...eneric) instead. issubclass_ Use issubclass builtin instead. issubsctype Use np.issubdtype instead. mat Use np.asmatrix instead. maximum_sctype Use a specific dtype instead. You should avoid relying on any implicit mechanism and select...
- NumPy 2.0.0 Release Notes
...performance improvements for linear algebra operations on macOS, and wheels that are about 3 times smaller, numpy.char fixed-length string operations have been accelerated by implementing ufuncs that also support StringDType in addition to...
- NumPy 2.0.1 Release Notes
...NumPy 2.0.1 Release Notes NumPy 2.0.1 is a maintenance release that fixes bugs and regressions discovered after the 2.0.0 release. NumPy 2.0.1 is the last planned release in the 2.0.x serie...
- NumPy 2.0.2 Release Notes
...NumPy 2.0.2 Release Notes NumPy 2.0.2 is a maintenance release that fixes bugs and regressions discovered after the 2.0.1 release. The Python versions supported by this release are 3.9-3.12...
- NumPy 2.1.0 Release Notes
...0 provides support for the upcoming Python 3.13 release and drops support for Python 3.9. In addition to the usual bug fixes and updated Python support, it helps get us back into our usual release cycle after the extended development of 2.0...
- NumPy 2.1.1 Release Notes
...NumPy 2.1.1 Release Notes NumPy 2.1.1 is a maintenance release that fixes bugs and regressions discovered after the 2.1.0 release. The Python versions supported by this release are 3.10-3.1...
- NumPy 2.1.2 Release Notes
...NumPy 2.1.2 Release Notes NumPy 2.1.2 is a maintenance release that fixes bugs and regressions discovered after the 2.1.1 release. The Python versions supported by this release are 3.10-3.1...
- NumPy 2.1.3 Release Notes
...NumPy 2.1.3 Release Notes NumPy 2.1.3 is a maintenance release that fixes bugs and regressions discovered after the 2.1.2 release. The Python versions supported by this release are 3.10-3.1...
- NumPy 2.2.0 Release Notes
...below. Many improved annotations. Improved support for the new StringDType. Improved support for free threaded Python Fixes for f2py This release supports Python versions 3.10-3.13. Deprecations _add_newdoc_ufunc is now deprecated. ufun...
- NumPy 2.xx.x Release Notes
...NumPy 2.xx.x Release Notes
- NumPy and SWIG
...NumPy reference NumPy and SWIG
- NumPy benchmarks
...Contributing to NumPy NumPy benchmarks
- NumPy C code explanations
...NumPy C code explanations
- NumPy C code explanations
...rely a fast path. There are only integer array indices so that no subarray exists. View-based and advanced indexing is mixed. In this case, the view-based indexing defines a collection of subarrays that are combined by the advanced indexing...
- NumPy C-API
...NumPy reference NumPy C-API
- NumPy core math library
...ms where C99 is not well supported. The core math functions have the same API as the C99 ones, except for the npy_* prefix. The available functions are defined in <numpy/npy_math.h> - please refer to this header when in doubt. Note An effo...
- NumPy documentation
...NumPy documentation Version: 2.2 Download documentation: User g
- NumPy for MATLAB users
...nless you specify the number of dimensions and type. Operations on the 2D instances of these arrays are modeled on matrix operations in linear algebra. In NumPy, the basic type is a multidimensional array. Array assignments in NumPy are u...
- NumPy fundamentals
...NumPy user guide NumPy fundamentals
- NumPy governance
...Contributing to NumPy NumPy governance
- NumPy how-tos
...he API reference. How to write a NumPy how-to Reading and writing files How to index ndarrays Verifying bugs and bug fixes in NumPy How to create arrays with regularly-spaced values...
- NumPy internals
...NumPy internals
- NumPy license
...NumPy user guide NumPy license
- NumPy project governance and decision-making
...ehow prove a negative. In practice, we use a combination of our best judgement (e.g., a simple and uncontroversial bug fix posted on GitHub and reviewed by a core developer is probably fine) and best efforts (e.g., all substantive API chang...
- NumPy quickstart
...ethe dimensions of the array. This is a tuple of integers indicating the size of the array in each dimension. For a matrix with n rows and m columns, shape will be (n,m). The length of the shape tuple is therefore the number of axes, ndim....
- NumPy reference
...NumPy reference
- NumPy security
...NumPy reference NumPy security
- NumPy user guide
...NumPy user guide
- numpy.__array_namespace_info__
...NumPy reference Array API standard compatibility numpy.__array_name
- numpy.__array_namespace_info__.capabilities
...NumPy reference Array API standard compatibility numpy.__array
- numpy.__array_namespace_info__.default_device
...NumPy reference Array API standard compatibility numpy.__array
- numpy.__array_namespace_info__.default_dtypes
...NumPy reference Array API standard compatibility numpy.__array
- numpy.__array_namespace_info__.devices
...NumPy reference Array API standard compatibility numpy.__array
- numpy.__array_namespace_info__.dtypes
...NumPy reference Array API standard compatibility numpy.__array
- numpy.absolute
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.acos
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.acosh
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.add
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.all
...NumPy reference Routines and objects by topic Logic functions
- numpy.allclose
...NumPy reference Routines and objects by topic Logic functions
- numpy.amax
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.amin
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.angle
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.any
...NumPy reference Routines and objects by topic Logic functions
- numpy.append
...NumPy reference Routines and objects by topic Array manipulati
- numpy.apply_along_axis
...NumPy reference Routines and objects by topic Functional progr
- numpy.apply_over_axes
...NumPy reference Routines and objects by topic Functional progr
- numpy.arange
...NumPy reference Routines and objects by topic Array creation r
- numpy.arccos
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.arccosh
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.arcsin
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.arcsinh
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.arctan
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.arctan2
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.arctanh
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.argmax
...NumPy reference Routines and objects by topic Sorting, searchi
- numpy.argmin
...NumPy reference Routines and objects by topic Sorting, searchi
- numpy.argpartition
...NumPy reference Routines and objects by topic Sorting, searchi
- numpy.argsort
...NumPy reference Routines and objects by topic Sorting, searchi
- numpy.argwhere
...NumPy reference Routines and objects by topic Sorting, searchi
- numpy.around
...decimals. around is an alias of round. See also ndarray.roundequivalent method roundalias for this function ceil, fix, floor, rint, trunc...
- numpy.array
...,'<i4'),('b','<i4')]) >>> x['a'] array([1, 3], dtype=int32) Creating an array from sub-classes: >>> np.array(np.asmatrix('1 2; 3 4')) array([[1, 2], [3, 4]]) >>> np.array(np.asmatrix('1 2; 3 4'), subok=True) matrix([[1, 2],...
- numpy.array2string
...numpy.array2string numpy.array2string(a, max_line_width=None, precision=None, suppress_small=None, separator=' ', prefix='', style=<no value>, formatter=None, threshold=None, edgeitems=None, sign=None, floatmode=None, suffix='', *, legacy...
- numpy.array_equal
...NumPy reference Routines and objects by topic Logic functions
- numpy.array_equiv
...NumPy reference Routines and objects by topic Logic functions
- numpy.array_repr
...NumPy reference Routines and objects by topic Input and output
- numpy.array_split
...NumPy reference Routines and objects by topic Array manipulati
- numpy.array_str
...NumPy reference Routines and objects by topic Input and output
- numpy.asanyarray
...NumPy reference Routines and objects by topic Array creation r
- numpy.asarray
...NumPy reference Routines and objects by topic Array creation r
- numpy.asarray_chkfinite
...NumPy reference Routines and objects by topic Array manipulati
- numpy.ascontiguousarray
...NumPy reference Routines and objects by topic Array creation r
- numpy.asfortranarray
...NumPy reference Routines and objects by topic Array manipulati
- numpy.asin
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.asinh
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.asmatrix
...NumPy reference Array objects Standard array subclasses numpy.asmatrix...
- numpy.astype
...NumPy reference Routines and objects by topic Array creation r
- numpy.atan
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.atan2
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.atanh
...NumPy reference Routines and objects by topic Mathematical fun
- numpy.atleast_1d
- numpy.atleast_2d
- numpy.atleast_3d
- numpy.average
- numpy.bartlett
- numpy.base_repr
- numpy.binary_repr
- numpy.bincount
- numpy.bitwise_and
- numpy.bitwise_count
- numpy.bitwise_invert
- numpy.bitwise_left_shift
- numpy.bitwise_or
- numpy.bitwise_right_shift
- numpy.bitwise_xor
- numpy.blackman
- numpy.block
- numpy.bmat
- numpy.broadcast
- numpy.broadcast.index
- numpy.broadcast.iters
- numpy.broadcast.nd
- numpy.broadcast.ndim
- numpy.broadcast.numiter
- numpy.broadcast.reset
- numpy.broadcast.shape
- numpy.broadcast.size
- numpy.broadcast_arrays
- numpy.broadcast_shapes
- numpy.broadcast_to
- numpy.busday_count
- numpy.busday_offset
- numpy.busdaycalendar
- numpy.busdaycalendar.holidays
- numpy.busdaycalendar.weekmask
- numpy.c_
- numpy.can_cast
- numpy.cbrt
- numpy.ceil
- numpy.char (Python module, in Legacy fixed-width string functionality)
- numpy.char.add
- numpy.char.array
- numpy.char.asarray
- numpy.char.capitalize
- numpy.char.center
- numpy.char.chararray
- numpy.char.chararray.all
- numpy.char.chararray.any
- numpy.char.chararray.argmax
- numpy.char.chararray.argmin
- numpy.char.chararray.argpartition
- numpy.char.chararray.argsort
- numpy.char.chararray.astype
- numpy.char.chararray.base
- numpy.char.chararray.byteswap
- numpy.char.chararray.capitalize
- numpy.char.chararray.center
- numpy.char.chararray.choose
- numpy.char.chararray.clip
- numpy.char.chararray.compress
- numpy.char.chararray.conj
- numpy.char.chararray.conjugate
- numpy.char.chararray.copy
- numpy.char.chararray.count
- numpy.char.chararray.ctypes
- numpy.char.chararray.cumprod
- numpy.char.chararray.cumsum
- numpy.char.chararray.data
- numpy.char.chararray.decode
- numpy.char.chararray.device
- numpy.char.chararray.diagonal
- numpy.char.chararray.dot
- numpy.char.chararray.dtype
- numpy.char.chararray.dump
- numpy.char.chararray.dumps
- numpy.char.chararray.encode
- numpy.char.chararray.endswith
- numpy.char.chararray.expandtabs
- numpy.char.chararray.fill
- numpy.char.chararray.find
- numpy.char.chararray.flags
- numpy.char.chararray.flat
- numpy.char.chararray.flatten
- numpy.char.chararray.getfield
- numpy.char.chararray.imag
- numpy.char.chararray.index
- numpy.char.chararray.isalnum
- numpy.char.chararray.isalpha
- numpy.char.chararray.isdecimal
- numpy.char.chararray.isdigit
- numpy.char.chararray.islower
- numpy.char.chararray.isnumeric
- numpy.char.chararray.isspace
- numpy.char.chararray.istitle
- numpy.char.chararray.isupper
- numpy.char.chararray.item
- numpy.char.chararray.itemset
- numpy.char.chararray.itemsize
- numpy.char.chararray.join
- numpy.char.chararray.ljust
- numpy.char.chararray.lower
- numpy.char.chararray.lstrip
- numpy.char.chararray.max
- numpy.char.chararray.mean
- numpy.char.chararray.min
- numpy.char.chararray.mT
- numpy.char.chararray.nbytes
- numpy.char.chararray.ndim
- numpy.char.chararray.newbyteorder
- numpy.char.chararray.nonzero
- numpy.char.chararray.partition
- numpy.char.chararray.prod
- numpy.char.chararray.ptp
- numpy.char.chararray.put
- numpy.char.chararray.ravel
- numpy.char.chararray.real
- numpy.char.chararray.repeat
- numpy.char.chararray.replace
- numpy.char.chararray.reshape
- numpy.char.chararray.resize
- numpy.char.chararray.rfind
- numpy.char.chararray.rindex
- numpy.char.chararray.rjust
- numpy.char.chararray.round
- numpy.char.chararray.rpartition
- numpy.char.chararray.rsplit
- numpy.char.chararray.rstrip
- numpy.char.chararray.searchsorted