reshape() function to construct the matrix 2-dimensional array column-wise. # Convert 1D array to 2D NumPy array along the column arr2 = np.
確定! 回上一頁