title: delete 'nan' or reduce length of numpy array if array contains nan after converting to numpy from pandas
body: <p>I want to delete <code>nan</code> from a numpy array. Lets say my numpy array contains:</p>
  
  <pre><code>np_array = ["123","pqr","123",nan,"avb", nan]
  </code></pre>
  
  <p>Expected output:</p>
  
  <pre><code>["123","pqr","123","avb"]
  </code></pre>
  
  <p>If we do it in pandas using <code>pandas.dropna()</code> it deletes the whole row which I don't want to do. I just want to delete the value and reduce the array size.</p>
  
  <p>Is there any possible way to do so?</p>