title: Better rounding in Python's NumPy.around: Rounding NumPy Arrays
body: <p>I am looking for a way to round a numpy array in a more intuitive fashion.  I have some  of several floats, and would like to limit them to only a few decimal places.
  This would be done as such:</p>
  
  <pre><code>&gt;&gt;&gt;import numpy as np
  &gt;&gt;&gt;np.around([1.21,5.77,3.43], decimals=1)
  array([1.2, 5.8, 3.4])
  </code></pre>
  
  <p>Now the problem arises when trying to round numbers that are exactly between the rounding steps.  I would like 0.05 rounded to 0.1, but np.around is set to round to the "nearest <i>even</i> number".  This produces the following:</p>
  
  <pre><code>&gt;&gt;&gt;np.around([0.55, 0.65, 0.05], decimals=1)
  array([0.6, 0.6, 0.0])
  </code></pre>
  
  <p>My question then amounts to, what is the most effective way to round to the nearest number, and not simply the nearest even number.</p>
  
  <p>For more info on np.around, see <a href="http://docs.scipy.org/doc/numpy/reference/generated/numpy.around.html" rel="noreferrer">its documentation</a>.</p>