[Numpy-discussion] Conversion from numarray to numpy

Keith Goodman kwgoodman@gmail....
Wed Jul 11 06:10:10 CDT 2007

On 7/11/07, Michał Szpadzik <mszpadzik@o2.pl> wrote:
> I would like to know how change this True/False to 1/0

Multiplying by 1 changes the True/False to 1/0. But sum gives the same
result for True/False as it does for 1/0. So maybe you don't need to
convert from True/False to 1/0?

More information about the Numpy-discussion mailing list