I have code that generates numpy.array in every loop. I want to save the array as a string in an excel file (i.e., the array created in the first loop will become the first row, the array generated in the second loop will become the second row, etc.). An array is created as follows:
for a loop in range(0,10) :
Array1 = ..... Array2 = ...... Array3 = numpy.concatenate((Array1,Array2),axis=0)
Any idea how I can put Array3 in 10 different lines of an excel file? (If the array is 5-dimensional, the excel file should contain 10 rows and 5 columns).
source share