From: Todd M. <jm...@st...> - 2004-02-04 15:13:25
|
On Wed, 2004-02-04 at 07:39, Marc Poinot wrote: > Hi, > I'm using repr to get a "re-usable" representation of a given array. > When the array is too large, it looks like the repr() uses ... > instead of printing the actual data. > > Is there a way to change that, or any other way to get a textual > representation of a numarray array ? To turn off the array summary feature: >>> import numarray.arrayprint as ap >>> ap.summary_off() To turn it back on: >>> ap.set_summary() To change the summary characteristics, look at set_summary(). Todd > > > -MP- > ----------------------------------------------------------------------- > Marc POINOT Alias: marcvs Email: po...@on... > ONERA -MFE/DSNA/ELSA Tel: 01.46.73.42.84 Info: els...@on... > 29, Div. Leclerc Fax: 01.46.73.41.66 Site: > 92322 Chatillon FRANCE Project: elsA Web: http://www.onera.fr > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion -- Todd Miller <jm...@st...> |