[Numpy-discussion] Boolean array formatting poll
Gerard Vermeulen
gvermeul at grenoble.cnrs.fr
Wed Sep 10 00:29:07 EDT 2003
-1, because of readability
Gerard
On 09 Sep 2003 16:15:36 -0400
Todd Miller <jmiller at stsci.edu> wrote:
> Now that Python has a bool type, I have received a patch for numarray's
> arrayprint module which alters the formatting of Boolean arrays from:
>
> >>>> a=numarray.arange(6, type=numarray.Bool); a[::2] = 0; a
> array([0, 1, 0, 1, 0, 1], type=Bool)
>
> to:
>
> >>>> 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).
>
> --
> Todd Miller jmiller at stsci.edu
> STSCI / ESS / SSB
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>
More information about the NumPy-Discussion
mailing list