I want to write an element to a file with numpy and check it.
I get an unexpected error when combining arrays, and I want to write the elements to a file and check them, but it doesn't work because it is float by default.
Export by specifying fmt = "% d" in np.savetxt.
np.savetxt("a.csv", target, fmt = "%d")