Answers for "arange"

0

arange

>>> np.arange(3)
array([0, 1, 2])
>>> np.arange(3.0)
array([ 0.,  1.,  2.])
>>> np.arange(3,7)
array([3, 4, 5, 6])
>>> np.arange(3,7,2)
array([-3, 5])
Posted by: Guest on February-19-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language