title: Python removing all negative values in array
body: <p>What is the most efficient way to remove negative elements in an array? I have tried <code>numpy.delete</code> and <a href="https://stackoverflow.com/questions/13032448/remove-all-specific-value-from-array">Remove all specific value from array</a> and code of the form <code>x[x != i]</code>.</p>
  
  <p>For:</p>
  
  <pre><code>import numpy as np
  x = np.array([-2, -1.4, -1.1, 0, 1.2, 2.2, 3.1, 4.4, 8.3, 9.9, 10, 14, 16.2])
  </code></pre>
  
  <p>I want to end up with an array:</p>
  
  <pre><code>[0, 1.2, 2.2, 3.1, 4.4, 8.3, 9.9, 10, 14, 16.2]
  </code></pre>