[Numpy-discussion] How are Booleans to be handled?
Colin J. Williams
cjw at sympatico.ca
Mon Aug 18 16:22:03 CDT 2003
Thanks, I made a guess and chose the wrong one.
This is a lot closer to the optimum storage.
Todd Miller wrote:
>On Mon, 2003-08-18 at 15:44, Colin J. Williams wrote:
>> z= _n.array([True, False, True, True], type= _nt.BooleanType)
>Use type=_nt.Bool here. BooleanType is the class of Bool.
More information about the Numpy-discussion