NumPy > Create 1D array

Name
Code
Output
array = numpy.array([1,2,3,4,5])
print (array)
print ("shape",array.shape)
[1 2 3 4 5]
shape (5,)