[Numpy-discussion] Conversion from numarray to numpy

Keith Goodman kwgoodman at gmail.com
Wed Jul 11 07:10:10 EDT 2007


On 7/11/07, Michał Szpadzik <mszpadzik at 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