import numpy as np
a = [0, 1, 2, 3, 4] #Eindimensionales Array 1
b = [5, 6, 7, 8, 9] #Eindimensionales Array 2
c = np.c_[a, b].flat[:] #Synthetik
print(c)
out
[0 5 1 6 2 7 3 8 4 9] #Die Ausgabe ist ndarray
Recommended Posts