Incorrect Correct answer

Concat 2 arrays horizontally,
a = np.arange(1,17).reshape(4,4)
b = np.arange(17,33).reshape(4,4)

np.hstack((a,b)) // correct

np.concatenate((a,b), axis = 0) //concat 2 arrays vertically so incorrect

A, B and C are correct option

np.concatenate((a,b), axis = 1) // correct

Both A and B // given correct but B option is not correct

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.