Example 1: numpy reshape np.reshape(a, (2, 3)) # C-like index ordering array([[0, 1, 2], [3, 4, 5]]) np.reshape(np.ravel(a), (2, 3)) # equivalent to C ravel ...
確定! 回上一頁