Check For Array - Is Value Contained In Another Array?
I'd like to return a boolean for each value in array A that indicates whether it's in array B. This should be a standard procedure I guess, but I can't find any information on how
Solution 1:
You can use in1d
I believe -
np.in1d(A,B)
Post a Comment for "Check For Array - Is Value Contained In Another Array?"