[Numpy-discussion] Conversion from numarray to numpy

Eike Welk eike.welk at gmx.net
Wed Jul 11 15:46:54 EDT 2007


Sorry, I made a typo!

On Wednesday 11 July 2007 17:32, Eike Welk wrote:
> 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( ... )
It should read: numpy.double

> converts to integers.
>
> Regards,
> Eike.

Eike.



More information about the NumPy-Discussion mailing list