[Numpy-discussion] Boolean array formatting poll

Chris Barker Chris.Barker at noaa.gov
Tue Sep 9 16:15:21 CDT 2003


Todd Miller wrote:

> >>>> a=numarray.arange(6, type=numarray.Bool); a[::2] = 0; a
> array([False, True, False, True, False, True], type=Bool)
> 
> Which format do you prefer?   Please vote for or against changing the
> format:  +1 (for)  or -1 (against).

-1

It just makes it harder to read, particularly for a large array

-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