Numpy
my_list = [x*10 for x in range(1,11)]
my_array = np.array(my_list).reshape(1,10)
my_array
array([[ 10, 20, 30, 40, 50, 60, 70, 80, 90, 100]])
my_list = [x*10 for x in range(1,11)]
my_array = np.array(my_list).reshape(1,10)
my_array
array([[ 10, 20, 30, 40, 50, 60, 70, 80, 90, 100]])