[Numpy-discussion] "boolean" type

Pierre Barbier de Reuille Pierre.Barbier_de_Reuille at inria.fr
Mon Jul 24 12:39:57 EDT 2006


Ivan Vilata i Balaguer wrote:
> En/na Pierre Barbier de Reuille ha escrit::
>
>   
>>>>> import numpy
>>>>> numpy.__version__
>>>>>           
>> '0.9.9.2852'
>>     
>>>>> numpy.bool_
>>>>>           
>> <type 'boolscalar'>
>>     
>
> Sorry if I didn't make my question clear.  What I find lacking is a
> ``numpy.boolean`` type which is to ``numpy.bool_`` the same as
> ``numpy.string`` is now to ``numpy.str_`` (i.e. a pure reference with a
> prettier name).  Otherwise I'm not getting what you're meaning! C:)
>
> ::
>
> 	Ivan Vilata i Balaguer   >qo<   http://www.carabos.com/
> 	       Cárabos Coop. V.  V  V   Enjoy Data
> 	                          ""
>
>   
Ok, so maybe it is because it is called "bool8" ? So that it is clear
that it takes 8 bits ?

Pierre




More information about the NumPy-Discussion mailing list