Let's say we have the following array:
array = np.array([[34, 0, 5], [77, 1, 4], [89, 44, 3]])
and want to perform some operations on it. Match each code snippet with its result.
Let's say we have the following array:
array = np.array([[34, 0, 5], [77, 1, 4], [89, 44, 3]])
and want to perform some operations on it. Match each code snippet with its result.
array.prod(axis=1)array.sum(axis=0)array.mean(axis=1)array.min(axis=0)[34 0 3][ 0 308 11748][13. 27.33333333 45.33333333][200 45 12]Create a free account to access the full topic