Python Numpy Dstack Fonction Exemple 01

# welcome to softhunt.net
# import numpy
import numpy as np

arr1 = np.array([0, 1, 3])
arr2 = np.array([5, 7, 9])

# using numpy.dstack() method
print(np.dstack((arr1, arr2)))
Outrageous Ostrich