I have two data frames, they have the same number of columns but not the same number of rows, and I'd like to know what are the rows in common between those two data frames.
So imagine i have two data frame exactly like this but one got more rows than the other one. And I expect as a result to have a data frame that contains only the rows in common between the two data frames.
I tried the merge(data.frame1, data.frame2, by = "Name2") in terms of rows it gives me the result i'm expecting but i got the columns twice, because i only want the 7 columns that i got initially and the rows in common. Also all the 7 value on the rows should match not just one