title: Want to update column Values for each occurrence of column AppName where at least one of the values in column Values is "Yes" s.t all values are 'Yes'
body: <p>I have a table</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th style="text-align: left;">AppName</th>
  <th style="text-align: center;">Values</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td style="text-align: left;">JBX</td>
  <td style="text-align: center;">Yes</td>
  </tr>
  <tr>
  <td style="text-align: left;">JBX</td>
  <td style="text-align: center;">No</td>
  </tr>
  <tr>
  <td style="text-align: left;">JBX</td>
  <td style="text-align: center;">Yes</td>
  </tr>
  <tr>
  <td style="text-align: left;">ABD</td>
  <td style="text-align: center;">No</td>
  </tr>
  <tr>
  <td style="text-align: left;">ABD</td>
  <td style="text-align: center;">No</td>
  </tr>
  <tr>
  <td style="text-align: left;">CBR</td>
  <td style="text-align: center;">Yes</td>
  </tr>
  <tr>
  <td style="text-align: left;">LBA</td>
  <td style="text-align: center;">No</td>
  </tr>
  <tr>
  <td style="text-align: left;">LBA</td>
  <td style="text-align: center;">Yes</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>And I want to update this table so that for each occurrence of AppName where at least one of the values in the &quot;Values&quot; column is 'Yes' then we update all of the values for that specific AppName to &quot;Yes&quot;.</p>
  <p>Updated Table:</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th style="text-align: left;">AppName</th>
  <th style="text-align: center;">Values</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td style="text-align: left;">JBX</td>
  <td style="text-align: center;">Yes</td>
  </tr>
  <tr>
  <td style="text-align: left;">JBX</td>
  <td style="text-align: center;">Yes</td>
  </tr>
  <tr>
  <td style="text-align: left;">JBX</td>
  <td style="text-align: center;">Yes</td>
  </tr>
  <tr>
  <td style="text-align: left;">ABD</td>
  <td style="text-align: center;">No</td>
  </tr>
  <tr>
  <td style="text-align: left;">ABD</td>
  <td style="text-align: center;">No</td>
  </tr>
  <tr>
  <td style="text-align: left;">CBR</td>
  <td style="text-align: center;">Yes</td>
  </tr>
  <tr>
  <td style="text-align: left;">LBA</td>
  <td style="text-align: center;">Yes</td>
  </tr>
  <tr>
  <td style="text-align: left;">LBA</td>
  <td style="text-align: center;">Yes</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>I tried</p>
  <pre><code>        if df2['Values'] == 'Yes':
             df2['Values'] == 'Yes'  ```
  But this throws a ```ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().``` for ```if df2['Values'] == 'Yes':```
  </code></pre>