Search
Search Results
Search finished, found 4 page(s) matching the search query.
- NumPy 1.16.0 Release Notes
...ource array when its writeable flag is set to False. Support path-like objects for more functions The np.core.records.fromfile function now supports pathlib.Path and other path-like objects in addition to a file object. Furthermore, the n...
- NumPy 1.19.0 Release Notes
- NumPy 1.20.0 Release Notes
...) Thread safe f2py callback functions Callback functions in f2py are now thread safe. (gh-16519) numpy.core.records.fromfile now supports file-like objects numpy.core.records.fromfile can now use file-like objects, for instance io.Bytes...
- Standard array subclasses
...= np.memmap('newfile.dat', dtype=float, mode='w+', shape=1000) >>> a[10] = 10.0 >>> a[30] = 30.0 >>> del a >>> b = np.fromfile('newfile.dat', dtype=float) >>> print(b[10], b[30]) 10.0 30.0 >>> a = np.memmap('newfile.dat', dtype=float) >...