To calculate the average of all values in a two-dimensional NumPy array called matrix, use the np.average(matrix) function.
確定! 回上一頁