title: if statement with two dataframes
body: <pre><code>display (df)
  display(prices)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/iAjEW.png" rel="nofollow noreferrer">I have 2 dataframes, I want to replace the month numbers in dataframe 1 with the DA HB West value for that month. It also has to have the same cheat code as the df. </a></p>
  <p>I feel like this is really easy to do but I keep getting an error.</p>
  <p>The error reads &quot;ValueError: Can only compare identically-labeled Series objects&quot;</p>