Skip to main content
1 of 3
Tarek
  • 724
  • 5
  • 9

If you want to check equals values on a certain column let's say Name you can merge both Dataframes to a new one:

mergedStuff = pd.merge(df1, df2, on=['Name'], how='outer')
mergedStuff.head()

I think this is more efficient and faster then whereif you have a big data set

Tarek
  • 724
  • 5
  • 9