参考:https://numpy.org/doc/stable/reference/generated/numpy.arange.html
语法格式
numpy.arange([start, ]stop, [step, ]dtype=None, *, like=None)
代码示例
>>> import numpy as np
>>> np.arange(6)
array([0, 1, 2, 3, 4, 5])
>>> np.arange(2,6)
array([2, 3, 4, 5])
>>> np.arange(2,6,2)
array([2, 4])
标签:None,间隔,arange,np,array,numpy From: https://www.cnblogs.com/chaimy/p/17222333.html