I have an error when I tried to do
np.savetxt(f, te_filename)
It returns an error of
% (str(X.dtype), format))
It's a byte order specifier, specifying "byte orders don't apply".