title: Pyspark replace strings in Spark dataframe column
body: <p>I'd like to perform some basic stemming on a Spark Dataframe column by replacing substrings. What's the quickest way to do this? </p>
  
  <p>In my current use case, I have a list of addresses that I want to normalize. For example this dataframe:</p>
  
  <pre><code>id     address
  1       2 foo lane
  2       10 bar lane
  3       24 pants ln
  </code></pre>
  
  <p>Would become</p>
  
  <pre><code>id     address
  1       2 foo ln
  2       10 bar ln
  3       24 pants ln
  </code></pre>