save a numpy string array to text file code example
Example: save numpy array to text file
a_file = open("test.txt", "w")
for row in an_array:
np.savetxt(a_file, row)
a_file.close()
a_file = open("test.txt", "w")
for row in an_array:
np.savetxt(a_file, row)
a_file.close()