np.zeros((3,3))、np.ones((3,3))
这两个函数默认使用 float64 数据类型
np.arange(start,stop,step)
step 可以是 int,也可以是 float ,默认情况下 start 为0且 step 为1,stop 必须指定
python 的 range() 函数只可以使用 int 数据类型
np.reshape()
np.arange(12).reshape(3,4)
np.linspace(start,stop,parts)
np.linspace