On 6/25/2011 2:06 PM, Benjamin Root wrote: > Note that "np.sum([])" also returns 0.0. I think the > reason why it has been returning zero instead of NaN was > because there wasn't a NaN-equivalent for integers. http://en.wikipedia.org/wiki/Empty_sum fwiw, Alan Isaac