How to replace a substring with another string in a column in pandas : <p>I have a column as below:</p>

<pre><code>df['name']
1                              react trainer
2                              react trainers
3                              react trainer's
</code></pre>

<p>I need to replace the string trainers/trainer's to trainer:</p>

<pre><code>1                              react trainer
2                              react trainer
3                              react trainer
</code></pre>
