NumPy - Aggregation Functions
Identify the error in this code snippet:
import numpy as np arr = np.array([[1, 2], [3, 4]]) cum_sum = np.cumsum(arr, axis=3) print(cum_sum)
