I have two numpy arrays or two pandas dataframes with three columns and different number of rows.
I want to find where the rows of the first array exist in the second array. Something like matlab's ismember function
[~, idx] = ismember(a, b, 'rows')
Is there a similar function in python? I do not want to use a loop.