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.
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.