title: Deleting certain elements from numpy array using conditional checks
body: <p>I want to remove some entries from a numpy array that is about a million entries long.</p>
  
  <p>This code would do it but take a long time:</p>
  
  <pre><code>a = np.array([1,45,23,23,1234,3432,-1232,-34,233])
  for element in a:
      if element&lt;(-100) or element&gt;100:
           some delete command.
  </code></pre>
  
  <p>Can I do this any other way?</p>