# Write a Python program to Numpy dstack() method 
# import numpy
import numpy as np
  
gfg1 = np.array([1, 2, 3])
gfg2 = np.array([4, 5, 6])
  
# using numpy.dstack() method
print(np.dstack((gfg1, gfg2)))