Data analysis labNumPy problems

Problem 31 of 50 · Reductions · Easy

A running total

Turn daily amounts into a cumulative sum.

Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.

Daily signups are [3, 1, 4, 2]. Print the running total after each day: 3, then 4, then 8, then 10.

1

Your solution

2

Scratch