title: string manipulation with python pandas and replacement function
body: <p>I'm trying to write a code that checks the sentences in a csv file and search for the words that are given from a second csv file and replace them,my code is as bellow it doesn't return any errors but it is not replacing any words for some reasons and printing  back the same sentences without and replacement.</p>
  
  <pre><code>
  import string
  import pandas as pd
  text=pd.read_csv("sentences.csv")
  change=pd.read_csv("replace.csv")
  for row in text:
      print(text.replace(change['word'],change['replacement']))
  </code></pre>
  
  <p>the sentences csv file looks like</p>
  
  <p><a href="https://i.stack.imgur.com/W7dPA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W7dPA.png" alt="enter image description here"></a></p>
  
  <p>and the change csv file looks like</p>
  
  <p><a href="https://i.stack.imgur.com/UR91s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UR91s.png" alt="enter image description here"></a></p>