On Sat, 24 May 2008, Keith Goodman apparently wrote: >>> x = np.array([True, True], dtype=bool) >>> x.sum() > 2 If you want bools, change the accumulator dtype:: >>> x.sum(dtype=bool) True Cheers, Alan Isaac