[Numpy-discussion] Pretty printing an array: no ellipses?
Stefan van der Walt
stefan at sun.ac.za
Thu Jul 20 07:51:12 EDT 2006
On Wed, Jul 19, 2006 at 03:06:00PM -0700, Webb Sprague wrote:
> I am not sure where to look for this, sorry if it is RTFM or JPS
> ("just plain stupid"):
>
> Is there a way to set a default to print the entire array, rather than
> an ellipses version of it? If not, why doesn't
> pprint.pformat(numpy.random.normal(0,1,(100, 100)), width=1000) at
> least give me something off the screen?
Try
N.set_printoptions(threshold=N.nan)
Stéfan
More information about the NumPy-Discussion
mailing list