title: Remove Period (.) from Dataframe Column Names
body: <p>So I've gone through all the examples on here of replacing special characters from column names, but I can't seem to get it to work for periods.</p>
  <p>What I've tried:</p>
  <pre><code># works to remove spaces
  df.select([F.col(c).alias(c.replace(' ', '_')) for c in df.columns])
  
  # doesn't work to remove periods
  df.select([F.col(c).alias(c.replace('.', '')) for c in df.columns])
  
  # removes special characters except periods 
  df.select([F.col(col).alias(re.sub(&quot;[^0-9a-zA-Z$]+&quot;,&quot;&quot;,col)) for col in df.columns])
  </code></pre>
  <p>I know how to change the name of a column by referencing that specific column, but this needs to change names of columns for any dataframe with columns with special characters</p>
  <p>Specifically here is the column name that is giving me trouble: &quot;Src. of Business Contact Full Name&quot;</p>