NumPy · Lesson 3.4 · Pro
Running totals and differences
Running totals, changes from one value to the next, growth rates and the drop from a peak.
In this lesson
- Running totals with cumsum
- Change from the previous value with diff
- Growth rates
- Running peak and drawdown
Go Pro to read this lesson
Pro unlocks every lesson and practice problem in SQL, Python, pandas and NumPy, with answers and step-by-step explanations.