Google News
logo
NumPy - Quiz(MCQ)
Which of the following function stacks 1D arrays as columns into a 2D array?
A)
column_stack
B)
com_stack
C)
row_stack
D)
All of the above

Correct Answer :   column_stack


Explanation : column_stack is equivalent to vstack only for 1D arrays.

Advertisement