title: using .loc with multiple df's
body: <pre><code>display(new_df)
  display(match)
  
  df2 = match.loc[(match['Cheat'] == new_df.columns) &amp; (match['Month'] == new_df.values)]
  </code></pre>
  <p>Error: ValueError: ('Lengths must match to compare', (10,), (3,))</p>
  <p>I have two data frames and would like to see if it is possible to change the values in the main df with the DA HB West price, with the respective Months and the cheat that match. The months are currently in the df column values, and the cheat that should match the 'Cheat' column in hb_avg df is currently the column name in the main df.</p>
  <p><a href="https://i.stack.imgur.com/049T0.png" rel="nofollow noreferrer">These are the two dataframes displayed</a></p>
  <p>Does anyone have any ideas on how to do this?</p>