In Chapter 4, numpy, above in Table 4.6, axis=0 should be calculating the cumulative sum of the column, and axis=1 is the cumulative sum of the row.