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. Regards, Eike.