Search
Search Results
Search finished, found 28 page(s) matching the search query.
- numpy.memmap.copy
...b[2][0] = 10 >>> a array([1, 'm', list([10, 3, 4])], dtype=object) To ensure all elements within an object array are copied, use copy.deepcopy: >>> import copy >>> a = np.array([1, 'm', [2, 3, 4]], dtype=object) >>> c = copy.deepcopy(a)...
- numpy.memmap.copy (Python method, in numpy.memmap.copy)
- NumPy 1.10.2 Release Notes
...ay via descr. gh-6775 MAINT: Include from __future__ boilerplate in some files missing it. gh-6780 BUG: metadata is not copied to base_dtype. gh-6783 BUG: Fix travis ci testing for new google infrastructure. gh-6785 BUG: Quick and dirty fix...
- NumPy 1.12.0 Release Notes
...compatibility. Now, all array-like methods in this module are called with keyword arguments instead. Operations on np.memmap objects return numpy arrays in most cases Previously operations on a memmap object would misleadingly return a me...
- NumPy 1.13.0 Release Notes
...if_overlap argument. If copy_if_overlap != 0, checks if input has memory overlap with any of the other arrays and make copies as appropriate to avoid problems if the input is modified during the iteration. See the documentation for more co...
- NumPy 1.25.0 Release Notes
...stant. Prior, padding between the fields or a reversed field would lead to a copy. This change only applies to ndarray, memmap and recarray. For all other array subclasses, the behavior remains unchanged. (gh-23652) Signed and unsigned in...
- NumPy 1.7.2 Release Notes
...add __len__ method to ma.mvoid gh-3364: reduce performance regression of mmap slicing gh-3421: fix non-swapping strided copies in GetStridedCopySwap gh-3373: fix small leak in datetime metadata initialization gh-2791: add platform specific...
- NumPy 2.0.0 Release Notes
...rings are now supported by any, all, and the logical ufuncs. (gh-25651) Integer sequences as the shape argument for memmap numpy.memmap can now be created with any integer sequence as the shape argument, such as a list or numpy array of...
- numpy.lib.format.open_memmap
...y’s module structure Lib module (numpy.lib) numpy.lib.format numpy.lib.format.open_memmap...
- numpy.memmap
...NumPy reference Array objects Standard array subclasses numpy.memmap...
- numpy.memmap.astype
...numpy.memmap.astype...
- numpy.memmap.copy
...b[2][0] = 10 >>> a array([1, 'm', list([10, 3, 4])], dtype=object) To ensure all elements within an object array are copied, use copy.deepcopy: >>> import copy >>> a = np.array([1, 'm', [2, 3, 4]], dtype=object) >>> c = copy.deepcopy(a)...
- numpy.memmap.diagonal
...numpy.memmap.diagonal...
- numpy.memmap.flags
...numpy.memmap.flags...
- numpy.memmap.flat
...numpy.memmap.flat...
- numpy.memmap.flatten
...numpy.memmap.flatten...
- numpy.memmap.item
...number and type) none: in this case, the method only works for arrays with one element (a.size == 1), which element is copied into a standard Python scalar object and returned. int_type: this argument is interpreted as a flat index into th...
- numpy.memmap.partition
...numpy.memmap.partition...
- numpy.memmap.reshape
...numpy.memmap.reshape...
- numpy.memmap.setflags
...numpy.memmap.setflags...
- numpy.memmap.shape
...numpy.memmap.shape...
- numpy.memmap.sort
...numpy.memmap.sort...
- numpy.memmap.tobytes
...numpy.memmap.tobytes...
- numpy.memmap.tolist
...numpy.memmap.tolist...
- numpy.memmap.view
...numpy.memmap.view...
- Standard array subclasses
...ush() which must be called manually by the user to ensure that any changes to the array actually get written to disk. memmap(filename[, dtype, mode, offset, ...]) Create a memory-map to an array stored in a binary file on disk. memmap.fl...
- Structured arrays
...ication described in Data Type Objects. Here, base_dtype is the desired underlying dtype, and fields and flags will be copied from dtype. This dtype is similar to a ‘union’ in C. Indexing and assignment to structured arrays Assigning d...
- Subclassing ndarray
...an issue. you do not think it is problematic if the subclass information is ignored or lost silently. An example is np.memmap where “forgetting” about data being memory mapped cannot lead to a wrong result. An example of a subclass that so...