Loading And Saving Numpy Matrix
I'm having troubles loading a numpy matrix. I successfully saved it to disk through: self.q.dump(fileName) and now I want to be able to load it. From what I understand, the load c
Solution 1:
help(numpy.ndarray)
| dump(...)
| a.dump(file)
|
| Dump a pickle of the array to the specified file.
| The array can be read back with pickle.load or numpy.load.
|
| Parameters
| ----------
| file : str
| A string naming the dump file.
numpy.load
should work fine.
Post a Comment for "Loading And Saving Numpy Matrix"