@tfv gave a cleaner way to do it. data.sum(axis=1) is again a numpy array which you can access with array[i]. – Vadiraja K.
確定! 回上一頁