Python Programming - Arrays - Discussion

Discussion Forum : Arrays - General Questions (Q.No. 78)
78.
How can you concatenate two NumPy arrays arr1 and arr2 along the second axis?
np.concatenate((arr1, arr2), axis=1)
np.concat(arr1, arr2, axis=1)
np.merge(arr1, arr2, axis=1)
np.append(arr1, arr2, axis=1)
Answer: Option
Explanation:
The np.concatenate() function can be used to concatenate arrays along a specified axis.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.