I have code to produce a pandas dataframe and send email in html format.
The problem I have is hard to change the scientific format of numeric numbers to general in style
I already tried to set float format, but it did not work.
pd.options.display.float_format = '{:20,.2f}'.format
output:
Col A Col B
1.00E+06 2.28E+06
3.00E+07 -2.54E+07
expected out:
Col A Col B
1000420 2281190
30030200 -25383100
df.astype(float)?