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
I use
def np_print(array,fmt="10.5f"): print (array.size*("{:"+fmt+"}")).format(*array)
It's not difficult to modify it for multi-dimensional arrays.