np.ones((1, n_samples))

shapes are tuples