Search
Search Results
Search finished, found 25 page(s) matching the search query.
- Writing custom array containers
...NumPy user guide Under-the-hood documentation for developers Writing custom array containers...
- Array API
...th, int max_depth, int requirements, PyObject *context) Nearly identical to PyArray_FromAny (…) except requirements can contain NPY_ARRAY_NOTSWAPPED (over-riding the specification in dtype) and NPY_ARRAY_ELEMENTSTRIDES which indicates that...
- Array creation
...C++. 6) Use of special library functions (e.g., SciPy, pandas, and OpenCV) NumPy is the fundamental library for array containers in the Python Scientific Computing stack. Many Python libraries, including SciPy, Pandas, and OpenCV, use Num...
- Array iterator API
...r all the operands. NPY_ITER_REFS_OK Indicates that arrays with reference types (object arrays or structured arrays containing an object type) may be accepted and used in the iterator. If this flag is enabled, the caller must be sure t...
- Beyond the basics
...y cast to PyArrayIterObject* so that its members can be accessed. The only members that are needed are iter->size which contains the total size of the array, iter->index, which contains the current 1-d index into the array, and iter->datapt...
- How to contribute to the NumPy documentation
...@rst/@endrst Starts/Ends a block of reST markup. Example Take a look at the following example: /** * A comment block contains reST markup. * @rst * .. note:: * * Thanks to Breathe_, we were able to bring it to Doxygen_ * * Some c...
- Interoperability with NumPy
...mplementation relies on the existence of the following attributes or methods: __array_interface__: a Python dictionary containing the shape, the element type, and optionally, the data buffer address and the strides of an array-like object;...
- 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. T...
- NumPy 1.17.0 Release Notes
...NumPy 1.17.0 Release Notes This NumPy release contains a number of new features that should substantially improve its performance and usefulness, see Highlights below...
- NumPy 1.22.0 Release Notes
...or the main NumPy namespace, which is now fully annotated. Besides the main namespace, a limited number of sub-packages contain annotations as well. This includes, among others, numpy.testing, numpy.linalg and numpy.random (available since...
- NumPy 1.25.0 Release Notes
...vements NDArrayOperatorsMixin specifies that it has no __slots__ The NDArrayOperatorsMixin class now specifies that it contains no __slots__, ensuring that subclasses can now make use of this feature in Python. (gh-23113) Fix power of co...
- NumPy 1.7.0 Release Notes
...with 2-D and 3-D pseudo-Vandermonde matrices that can be used for fitting. Ability to pad rank-n arrays A pad module containing functions for padding n-dimensional arrays has been added. The various private padding functions are exposed...
- NumPy 1.8.0 Release Notes
- NumPy 2.0 migration guide
- NumPy 2.0.0 Release Notes
...hs of development since the last feature release and is the work of 212 contributors spread over 1078 pull requests. It contains a large number of exciting new features as well as changes to both the Python and C APIs. This major release in...
- NumPy for MATLAB users
- Reading and writing files
- Standard array subclasses
- Test support (
numpy.testing
) - Testing guidelines
- Writing custom array containers
- Writing your own ufunc
- numpy.lib.stride_tricks.sliding_window_view
- Under-the-hood documentation for developers
- Using Python as glue