What I do now:
import gzip
import numpy
f = gzip.GzipFile("my_array.npy.gz", "w")
numpy.save(file=f, arr=my_array)
f.close()
More Related Contents:
- What are the advantages of NumPy over regular Python lists?
- ValueError: setting an array element with a sequence
- Numpy `logical_or` for more than two arguments
- Store different datatypes in one NumPy array?
- What is the difference between contiguous and non-contiguous arrays?
- Quick way to upsample numpy array by nearest neighbor tiling [duplicate]
- How does NumPy’s transpose() method permute the axes of an array?
- Count consecutive occurences of values varying in length in a numpy array
- Concatenate two NumPy arrays vertically
- Getting the indices of several elements in a NumPy array at once
- How do I print the full NumPy array, without truncation?
- How to do n-D distance and nearest neighbor calculations on numpy arrays
- Multiplying across in a numpy array
- initialize a numpy array
- How to conditionally combine two numpy arrays of the same shape
- What does dtype=object mean while creating a numpy array?
- Numpy: efficient way to generate combinations from given ranges
- Why is a `for` over a Python list faster than over a Numpy array?
- Selecting close matches from one array based on another reference array
- Repeat each values of an array different times
- How to create 2d array with numpy random.choice for every rows?
- Input and output numpy arrays to h5py
- Why does numpy have a corresponding function for many ndarray methods?
- Numpy sub-array assignment with advanced, mixed indexing
- Efficiently sorting a numpy array in descending order?
- Numpy: Divide each row by a vector element
- Setting the fmt option in numpy.savetxt
- Access n-th dimension in python [duplicate]
- get the i-th slice of the k-th dimension in a numpy array
- Convert list of lists with different lengths to a numpy array [duplicate]