安裝NumPy套件終端機: conda install numpy ... 利用rand創造隨機的陣列,範圍只會落於0-1 np.random.rand(3) np.random.rand(2,2) #利用randn創造 ...
確定! 回上一頁