基本用法array宣告, dimension, shape, size. import numpy as np array = np.array([[1,2,3], [4,5,6]]) print(array) print('number of dim:',array.ndim) ...
確定! 回上一頁