创建ndarray 的第一种方式是利用array 方式。 import numpy as np # 创建一维数组nd_one = np.array([1, 2, 3]) # 创建二维数组nd_two = np.array([[1, 2 ... 0 0] [0 2 0] [ ...
確定! 回上一頁