[Python-ideas] Start argument for itertools.accumulate() [Was: Proposal: A Reduce-Map Comprehension and a "last" builtin]

Stephen J. Turnbull turnbull.stephen.fw at u.tsukuba.ac.jp
Tue Apr 10 02:35:52 EDT 2018


Tim Peters writes:

 > "Sum reduction" and "running-sum accumulation" are primitives in
 > many peoples' brains.

I wonder what Kahneman would say about that.  He goes to some length
to explain that people are quite good (as human abilities go) at
perceiving averages over sets but terrible at summing the same.  Maybe
they substitute the abstraction of summation for the ability to
perform the operation?

Steve


More information about the Python-ideas mailing list