Does anyone give me an example of how to save 2-D matrix in a file and reuse it for more use? To be loaded? / P>
& gt; & Gt; & Gt; Import samples & gt; & Gt; & Gt; Mat = numerical. Matrix ("1 2 3; 4 5 6; 7 8 9")> gt; & Gt; & Gt; Mat.dump ("my_matrix.dat") & gt; & Gt; & Gt; Mat2 = numpy.load ("my_matrix.dat")
Comments
Post a Comment