Python Programming - Arrays - Discussion

Discussion Forum : Arrays - General Questions (Q.No. 65)
65.
What is the purpose of the NumPy function numpy.vstack((arr1, arr2))?
Stacks the arrays vertically.
Stacks the arrays horizontally.
Creates a new array by vertically concatenating the arrays.
Creates a new array by horizontally concatenating the arrays.
Answer: Option
Explanation:
The numpy.vstack() function stacks the arrays vertically.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.