学习笔记(14):NumPy数据分析-NumPy创建数组的方法-linspace

立即学习:https://edu.csdn.net/course/play/25878/316063?utm_source=blogtoedu

linspace:        a=np.linspace(2.0,3.0,num=5,retstep=true)

retstep设置为true显示步长,可以不设置

endpoint设置可以不要结尾数组

发布了24 篇原创文章 · 获赞 8 · 访问量 1166

猜你喜欢

转载自blog.csdn.net/qq_41739233/article/details/104247771
今日推荐