On Mon, 27 Nov 2023 at 17:19, Jeppe Dakin <[email protected]> wrote: > > But if your true concern is that 9% of disk space, > > you probably don't want to be using `savetxt()` in any case. > Well, I do in fact want to save as text, but I would rather not do so in an > unnecessarily wasteful fashion.
`fmt='%s'` might be a good option if you want to save space: 1. it will output the nearest decimal value that round-trips 2. it handles the case of 32bit floats needing half as many digits 3. it does the right thing for integer values Sam _______________________________________________ NumPy-Discussion mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: [email protected]
