Set 105 Practical Question

⭐ Q5. NumPy से 2D Arrays को Combine करना

Example Code (Read Only):


import numpy as np

array1 = np.array([[1,2,3],[4,5,6]])
array2 = np.array([[7,8,9]])

combined = np.concatenate((array1, array2), axis=0)
print(combined)

Python Online Editor