Float formatting in IPython console

24 views
Skip to first unread message

Emma Worthington

unread,
May 2, 2023, 10:55:39 AM5/2/23
to spyder
Hi,

When outputting a float array in the console, the values are in scientific notation. Is there any way to change the output format? I've had no luck searching the Preferences.

thanks,

Emma

Carlos Córdoba

unread,
May 18, 2023, 8:29:33 AM5/18/23
to spyd...@googlegroups.com
Hi,

I think what you need is explained in this StackOverflow answer:

https://stackoverflow.com/questions/4018167/how-to-set-number-of-digits-for-float-point-output-in-ipython


Cheers,
Carlos

El 2/05/23 a las 16:55, Emma Worthington escribió:
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/78db7a73-6980-4344-b925-9a4040e640abn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages