How to get the cumulative sum of numpy array in-place,"np.cumsum(a, axis=1, out=a)"