title: For loop and if for multiple conditions and change another column in the same row in pandas
body: <p>I am trying to have a change a column if some strings are in the other column in the same row. I am new to Pandas. </p>
  
  <p>I need to change the price of some oranges to 200 but not the price of 'Red Orange'. I cannot change the name of the "fruits". It is a much longer string and I just made it shorter for convenience here.</p>
  
  <pre><code>    fruits                         price
      Green apple from us            10
      Orange Apple from US           11
      Mango from Canada              15
      Blue Orange from Mexico        16
      Red Orange from Costa          15
      Pink Orange from Brazil        19
      Yellow Pear from Guatemala     32
      Black Melon from Guatemala     4
      Purple orange from Honduras    5
  </code></pre>
  
  <p>so that the final result would be </p>
  
  <pre><code>    fruits                         price
      Green apple from us            10
      Orange Apple from US           11
      Mango from Canada              15
      Blue Orange from Mexico        200
      Red Orange from Costa          15
      Pink Orange from Brazil        200
      Yellow Pear from Guatemala     32
      Black Melon from Guatemala     4
      Purple orange from Honduras    5
  </code></pre>
  
  <p>I tried</p>
  
  <pre><code>    df.loc[df['fruits'].str.lower().str.contains('orange'), 'price'] = 200
  </code></pre>
  
  <p>But this produces total of 4 items to change its price instead of only 2 items.</p>
  
  <p>I have used for loop once and that changed the entire column to change its price.</p>