None of the options seem correct to me

question: Which of the following function stacks 1D arrays as columns into a 2D array?

row_stack

col_stack

column_stack

Both B and C

We should use numpy.stack(a,b,axis=1)

Hi @Anuvrat99
column_stack function; that stacks 1D arrays as columns into a 2D arrays.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.