Quiz doubt numpy

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

np.hstack((a,b))

np.concatenate((a,b), axis = 0)

A, B and C are correct option

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

Both A and B

how can be the answer is both a and b its wrong

Hey @Nikhil799, you are right, the answer to this question is wrong. It is not Both A and B . The correct answer should be 1st and 4th Option. I have informed our backend team and they will update the quiz soon. Thank you so much for pointing this out to us :slight_smile:

Hope this clears your doubt !
Happy Learning :slight_smile:

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.