[Numpy-discussion] "boolean" type

Pierre Barbier de Reuille Pierre.Barbier_de_Reuille at inria.fr
Mon Jul 24 11:16:40 EDT 2006


Ivan Vilata i Balaguer wrote:
> Hi all,
>
> Since there is a "string" type which is the same as "str_", how come
> there is no "boolean" type which is the same as "bool_"?  Did I miss
> some design decision about naming?  You know, just for completeness, not
> that it is some kind of problem at all! ;)
>   
Well ...

>>> import numpy
>>> numpy.__version__
'0.9.9.2852'
>>> numpy.bool_
<type 'boolscalar'>

Pierre
> Cheers,
>
> ::
>
> 	Ivan Vilata i Balaguer   >qo<   http://www.carabos.com/
> 	       Cárabos Coop. V.  V  V   Enjoy Data
> 	                          ""
>
>   
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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