Return the running total of x
NumPy · from Running totals and differences
.cumsum.cumprodnp.diffnp.gradientnp.maximum.accumulateprepend=Putting the kettle on…
Starting up…
Exercise 1
Return the running total of x.
your answer
stuck? the lesson behind it
Running totals and differences
The reductions that don’t reduce — cumsum, diff, and their friends.