numpy.savetxt without hash mark at beginning of header line
Solution 1:
it inserts the # because that line is a comment, and the default character for comments is the symbol #, as you can read in the documentation here.
If you want to get rid of it, pass comments=''
as option to savetxt.