Axis

Report a typo

You have the following array:

array = np.array([[[14, 5], [8, 0]], [[13, 7], [18, 5]]])

array.sum(axis=X) returns the following array: [[19, 8], [20, 23]]. What is the index of the axis that should be in place of X?

In the answer box, write down a single integer.

Enter a number
___

Create a free account to access the full topic