title: How do I set pandas dataframe cells equal to based on column values in Python?
body: <p>Here is my issue, I have two pandas dataframes, all with the same column names, and the same number of rows. Below is a sample of what each dataframe would look like.
  <a href="https://i.stack.imgur.com/xemZF.png" rel="nofollow noreferrer">Pandas Dataframe Example</a></p>
  
  <p>Let me call my dataframes DF1 and DF2. I need to take the "PosRank" value from DF1 and set it equal to the "PosRank" of DF2 at the row where the "names" are the same. There is no guarantee they will be in any sorted or matching order but all names in DF1 will also be in DF2 and visa versa, and will only appear once in each.</p>