Сохраните струны с Numpy Savetext
np.savetxt('test.txt', DAT, delimiter=" ", fmt="%s")
Real Raccoon
np.savetxt('test.txt', DAT, delimiter=" ", fmt="%s")
numpy.savetxt(fname, X, fmt='%.18e', delimiter=' ', newline='\n', header='', footer='', comments='# ', encoding=None)