This is a simple question. I am trying to concatenate a list to a numpy nd array, but I cannot figure out how to do it.
import numpy as np
t = list(range(2))
a = np.random.rand(2,4)
t = np.array(t)
result = np.concatenate(t,a)
>> ValueError: all the input arrays must have same number of dimensions