How to control column for pretty print line wrap of ndarrays
Like most people these days, I have multiple 24" monitors. I don't need "print" of ndarrays to wrap after 72 columns. Is there some way to change this? TIA Ian CURRENT: [ NaN NaN NaN NaN NaN 5.1882094 1.19646584]] DESIRED: [ NaN NaN NaN NaN NaN 5.1882094 1.19646584]] (Although your mail client mail mangle it...)
On Wed, Dec 22, 2010 at 16:32, Ian Stokes-Rees
Like most people these days, I have multiple 24" monitors. I don't need "print" of ndarrays to wrap after 72 columns. Is there some way to change this?
np.set_printoptions(linewidth=100) -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
participants (2)
-
Ian Stokes-Rees
-
Robert Kern