Hi,

I need to display some numpy arrays in mantissa+exponent format (e.g. 
'%.2e' using C syntax). In numpy.set_printoptions(), there is currently 
only 'precision' option, which does not allow this.

What about having an option related to 'precision', named possibly 
'float_format', with the following function:

     :Parameters:
         format : string
             Format string for floating point output, has precedence 
over 'precision' (default '%.8f').

r.
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to