Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python NumPy dstack Function Example 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)))
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Python #NumPy #dstack #Function #Example
ADD COMMENT
Topic
Name
5+4 =