How do I print a numpy array?

Grant Edwards grante at visi.com
Fri Dec 1 17:28:49 EST 2006


How do you print a numpy array?

I tried the obvious print a, print `a`, and print str(a), but
none of them work on anything other than trivially small
arrays.  Most of my real data is elided and replaced with
ellipses.

-- 
Grant Edwards                   grante             Yow!  I want to kill
                                  at               everyone here with a cute
                               visi.com            colorful Hydrogen Bomb!!



More information about the Python-list mailing list