options(scipen = 999) for Python

Hi, I'm new to use Python in RRstudio.

This is pandas dataframe. I want to see scientic notation to market value variable with View function. When I write R code, I use options(scipen=999) for this problem. Can I see numeric variables as scientific notation.

image

I also added this code "pd.options.display.float_format = '{:,.2f}'.format " to change format bu it doesn't work for viewer. However, output shows nicely in console.

image

Thanks.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.