Calculate mean across dimension in a 2D array,"np.mean(a, axis=1)"