Python Numpy Dstack Fonction Exemple 02
# welcome to softhunt.net
# import numpy
import numpy as np
arr1 = np.array([10, 20, 30])
arr2 = np.array([40, 50, 60])
# using numpy.dstack() method
print(np.dstack((arr1, arr2)))
Outrageous Ostrich