Typo in exercise 2 chapter 8 ?

Typo in exercise 2 chapter 8 ?

by Adrien Shun Pierre Vauthey -
Number of replies: 0
In the example, shouldn't it be : sum_per_row = np.sum(a, axis=1) instead of sum_per_row = np.mean(a, axis=1) ?
Same for columns