import numpy as np · a = [1, 2, 3, 4] · b = np.reshape(a, (2,2)) · print(b) · Result: · [[1, 2],.
確定! 回上一頁