[Numpy-discussion] Conversion from numarray to numpy

Eike Welk eike.welk at gmx.net
Wed Jul 11 11:32:38 EDT 2007

On Wednesday 11 July 2007 12:52, Michał Szpadzik wrote:
> I would like to know how change this True/False to 1/0

To convert an array of bool to an array double, you can use the 
function numpy.doube( ... ). The function numpy.int32( ... ) converts 
to integers.


More information about the NumPy-Discussion mailing list