title: finding and replacing 'nan' with a number
body: <p>I want to replace number 3 instead of all 'nan' in array. this is my code:</p>
  
  <pre><code>train= train.replace("nan",int(3))
  </code></pre>
  
  <p>But nothing changes in my array.  Could u please guide me?</p>