title: How to replace Special Characters/symbols in Pandas Data Frame(csv file) to NaN
body: <p>Hi everyone,</p>
  
  <pre><code> I am new to the handling of data in pandas DataFrame could you please help me to solve the problem.
  
   My question is how to replace special symbols(like ?,@,#,$,&amp;,^ and so on) with NaN.
  </code></pre>
  
  <p>For Example:
  My CSV file((Ram.csv) file look like this</p>
  
  <p><a href="https://i.stack.imgur.com/qxTlY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qxTlY.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/teND3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/teND3.png" alt="enter image description here"></a></p>