
July 23, 2010
8:16 a.m.
Hi, My array of integers is printed like this by default in numpy: array([[ 4.75000000e+02, 9.50000000e+02, -1.00000000e+00], [ 2.60900000e+03, 9.50000000e+02, -7.09000000e+02]]) Can I set an option so that numpy never uses this scientific notation or raise the threshold at which it kicks in? Thanks, John.

July 2010
8:28 a.m.
How about numpy.set_printoptions(suppress=True)? See http://docs.scipy.org/doc/numpy/reference/generated/numpy.set_printoptions.h... . HTH, Ian
5418
Age (days ago)
5418
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ian Mallett
-
John Reid