From: Travis O. <oli...@ee...> - 2006-09-22 18:56:02
|
Brian Granger wrote: >>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? > > No, that woudn't be hard. If you can wait several weeks, add a ticket, or better, dig in to the current printing function and add it to the set_printoptions code. -Travis |