How to use compare several dataframes and return the matches using pandas

Viewed 1266

If I have a several pandas dataframes that look like this:

Name       Score
Sam        4
Aaron      5
Neil       6
Ben        7

Name       Score
Morgan     5
Neil       6
Adam       8
Ben        5

Name       Score
Evan       5
Nathan     4
Neil       6
Ben        2

How can I use pandas.concat(join) to join all the dataframes in one large one and then only return the names that are found in all three dataframes?

Expected Output:

Name
Neil
Ben
2 Answers
Related