Search
Search Results
Search finished, found 23 page(s) matching the search query.
- numpy.memmap.all
...numpy.memmap.all...
- numpy.memmap.all (Python method, in numpy.memmap.all)
- NumPy 1.12.0 Release Notes
...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 but the following may be of particular interest or...
- NumPy 1.13.0 Release Notes
...ng blocked 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=o...
- NumPy 1.25.0 Release Notes
...are 3.9-3.11. Deprecations np.core.MachAr is deprecated. It is private API. In names defined in np.core should generally be considered private. (gh-22638) np.finfo(None) is deprecated. (gh-23011) np.round_ is deprecated. Use np.round...
- NumPy 1.6.0 Release Notes
...umpy.f2py F2py now supports wrapping Fortran 90 routines that use assumed shape arrays. Before such routines could be called from Python but the corresponding Fortran routines received assumed shape arrays as zero length arrays which cause...
- NumPy 2.0.0 Release Notes
...e and a new numpy.strings namespace with performant ufuncs for string operations, Support for float32 and longdouble in all numpy.fft functions, Support for the array API standard in the main numpy namespace. Performance improvements: So...
- numpy.lib.Arrayterator
...ze=None)[source] Buffered iterator for big arrays. Arrayterator creates a buffered iterator for reading big arrays in small contiguous blocks. The class is useful for objects stored in the file system. It allows iteration over the object wi...
- numpy.load
...numpy.load numpy.load(file, mmap_mode=None, allow_pickle=False, fix_imports=True, encoding='ASCII', *, max_header_size=10000)[source] Load arrays or pickled objects...
- numpy.memmap.all
...numpy.memmap.all...
- numpy.memmap.astype
...ionalControls the memory layout order of the result. ‘C’ means C order, ‘F’ means Fortran order, ‘A’ means ‘F’ order if all the arrays are Fortran contiguous, ‘C’ order otherwise, and ‘K’ means as close to the order the array elements appea...
- numpy.memmap.conj
...numpy.memmap.conj method memmap.conj() Complex-conjugate all elements. Refer to numpy.conjugate for full documentation. See also numpy.conjugateequivalent function...
- numpy.memmap.copy
...5, 6]]) >>> y.flags['C_CONTIGUOUS'] True For arrays containing Python objects (e.g. dtype=object), the copy is a shallow one. The new array will contain the same object which may lead to surprises if that object can be modified (is mut...
- numpy.memmap.fill
...numpy.memmap.fill method memmap.fill(value) Fill the array with a scalar value. Parameters: valuescalarAll elements of a will be assigned this value. Examples >>> import numpy as np >>> a = np.array([1, 2]) >>> a.fill(0...
- numpy.memmap.flags
...EABLE, and ALIGNED flags can be changed by the user, via direct assignment to the attribute or dictionary entry, or by calling ndarray.setflags. The array flags cannot be set arbitrarily: WRITEBACKIFCOPY can only be set False. ALIGNED can...
- numpy.memmap.partition
...numpy.memmap.partition method memmap.partition(kth, axis=-1, kind='introselect', order=None) Partially sorts the elements in the array in such a way that the value of the element in k-th position is in the position it...
- numpy.memmap.put
...numpy.memmap.put method memmap.put(indices, values, mode='raise') Set a.flat[n] = values[n] for all n in indices. Refer to numpy.put for full documentation. See also numpy.putequivalent function...
- numpy.memmap.setflags
...mpy interprets the memory area used by a (see Notes below). The ALIGNED flag can only be set to True if the data is actually aligned according to the type. The WRITEBACKIFCOPY flag can never be set to True. The flag WRITEABLE can only be se...
- numpy.memmap.sort
...is argument specifies which fields to compare first, second, etc. A single field can be specified as a string, and not all fields need be specified, but unspecified fields will still be used, in the order in which they come up in the dtype...
- numpy.memmap.tolist
...hon type, via the item function. If a.ndim is 0, then since the depth of the nested list is 0, it will not be a list at all, but a simple Python scalar. Parameters: none Returns: yobject, or list of object, or list of list of object, o...
- Standard array subclasses
...y the question is by asking yourself if the object you are interested in can be replaced as a single array or does it really require two or more arrays at its core. Note that asarray always returns the base-class ndarray. If you are confide...
- Structured arrays
...binary blobs. For these purposes they support specialized features such as subarrays, nested datatypes, and unions, and allow control over the memory layout of the structure. Users looking to manipulate tabular data, such as stored in csv f...
- Subclassing ndarray
...ely simple, but it has some complications compared to other Python objects. On this page we explain the machinery that allows you to subclass ndarray, and the implications for implementing a subclass. ndarrays and object creation Subclass...