[Numpy-discussion] Always using scientific notation to print

Brian Granger ellisonbg.net at gmail.com
Fri Sep 22 13:44:16 CDT 2006


> You can write a function that formats arrays how you like them and then tell
> ndarray to use it for __str__ or __repr__ using numpy.set_string_function().

That seems to be a little low level for most users.  Would it be hard
to have the possibility of specifying a format string?

Brian




More information about the Numpy-discussion mailing list