crear una matriz numpy vacía sin forma
a = []
for x in y:
a.append(x)
a = np.array(a)
Bewildered Barracuda
a = []
for x in y:
a.append(x)
a = np.array(a)