Error in section "Introducing the ND-array"
apezzotti86 opened this issue · 1 comments
apezzotti86 commented
There is an error in the below text. Taking mean value over three distinct columns should use axis = 0. If you manually compute the averages, axis = 1 takes the average over rows.
Let’s take the mean value over the three distinct columns in our data:
np.mean(x, axis=1)
array([ 1., 4., 7.])