Google News
logo
NumPy - Quiz(MCQ)
Which of the following function can be used to combine different vectors so as to obtain the result for each n-uplet?
A)
iid_
B)
ix_
C)
ixd_
D)
None of the above

Correct Answer : Option (B) :   ix_


Explanation : Length of the 1D boolean array must coincide with the length of the dimension (or axis) you want to slice.

Advertisement