Turn each row of cups into fractions of that day's total, so every row sums to 1
NumPy · from Aggregation and the axis argument
.sum.mean.maxaxis=keepdims.argmax.cumsumPutting the kettle on…
Starting up…
Exercise 3
Turn each row of cups into fractions of that day's total, so every row sums to 1.
your answer
stuck? the lesson behind it
Aggregation and the axis argument
The axis you name is the axis that disappears.