[Numpy-discussion] Boolean array formatting poll

Chris Barker Chris.Barker at noaa.gov
Thu Sep 11 10:16:07 CDT 2003


Todd Miller wrote:

> >>> numarray.ones((10,), type=numarray.Bool)*5
> array([5, 5, 5, 5, 5, 5, 5, 5, 5, 5])
> 
> So, yes.

In that case, definately -1: if the data really are integers, that might
as well be clear from the display

-Chris

-- 
Christopher Barker, Ph.D.
Oceanographer
                                    		
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the Numpy-discussion mailing list