Erstellen Sie eine leere numpy -Reihe unbekannter Größe

a = np.array([])
for x in y:
    a = np.append(a, x)
Salty Joe