NumPy > Create evenly spaced array

Name
Code
Output
array = numpy.linspace(0,2,6)
print (array)
print ("shape",array.shape)
[ 0.   0.4  0.8  1.2  1.6  2. ]
shape (6,)