title: Pretty-print a NumPy array without scientific notation and with given precision
body: <p>How do I print formatted NumPy arrays in a way similar to this:</p>
  <pre><code>x = 1.23456
  print('%.3f' % x)
  </code></pre>
  <p>If I want to print the <code>numpy.ndarray</code> of floats, it prints several decimals, often in 'scientific' format, which is rather hard to read even for low-dimensional arrays. However, <code>numpy.ndarray</code> apparently has to be printed as a string, i.e., with <code>%s</code>. Is there a solution for this?</p>