import numpy as np
a = [0, 1, 2, 3, 4] #Tableau unidimensionnel 1
b = [5, 6, 7, 8, 9] #Tableau unidimensionnel 2
c = np.c_[a, b].flat[:] #Synthétique
print(c)
out
[0 5 1 6 2 7 3 8 4 9] #La sortie est ndarray
Recommended Posts