[Numpy-discussion] missing string formatting functionality?

Neal Becker ndbecker2@gmail....
Thu Jul 15 07:53:44 CDT 2010

It looks like np.savetxt is pretty flexible, accepting fmt, and delimiter 
args.  But to format into a string, we have array_repr and array_str, which 
are not flexible.

Of course, one can use np.savetxt with python stringio, but that's more 
work.  Would be nice if np.savetxt could just return a string.  Better 
still, if np.savestring (returning a string) would implement core 
functionality, and np.savetxt would just us it.

More information about the NumPy-Discussion mailing list