I\'m curious, whether there is any way to print formatted numpy.arrays, e.g., in a way similar to this:
numpy.arrays
x = 1.23456 print \'%.3f\' % x >
x = 1.23456 print \'%.3f\' % x
numpy.char.mod may also be useful, depending on the details of your application e.g.:numpy.char.mod('Value=%4.2f', numpy.arange(5, 10, 0.1)) will return a string array with elements "Value=5.00", "Value=5.10" etc. (as a somewhat contrived example).
numpy.char.mod('Value=%4.2f', numpy.arange(5, 10, 0.1))