Numpy

import numpy as np

This is a numpy array:

a = np.ones(5)
a
array([1., 1., 1., 1., 1.])