[Numpy-discussion] How are Booleans to be handled?

Todd Miller jmiller at stsci.edu
Mon Aug 18 12:54:03 CDT 2003

On Mon, 2003-08-18 at 15:44, Colin J. Williams wrote:
> This statement:
>             z= _n.array([True, False, True, True], type= _nt.BooleanType)

Use type=_nt.Bool here.  BooleanType is the class of Bool.


Todd Miller <jmiller at stsci.edu>

More information about the Numpy-discussion mailing list