Can we get output like below from python?
text1 -9.98442 -10. -0.01558
text2 -0. -0. 0.
text3 0. -0. -0.
text4 0.24829 0.24829 -0.
text5 -7.40799 -7.40575 0.00224
text6 0. -0. -0.
text7 -0. 0. 0.
text8 -5.88917 -5.83199 0.05718
text9 -0. 0. 0.
text10 -6.83455 -6.74592 0.08862
That is text to the left, and period-aligned columns with suppressed small numbers (e.g. from a 1D array of strings and a 2D array of floats).
Numpy can produce the structure of the floats with np.set_printoptions(precision=5,suppress=True)
and print(array)
but then I don't know how to get the text to the left and preferably get rid of the brackets.