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
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.
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