0
This is a part of a dataset column:
0 1.347688e+05
1 1.563599e+05
2 1.788441e+05
3 1.983543e+05
I tried that:
from babel.numbers import format_decimal
format_decimal(df.Receita_liquida, locale='en_US')
but I got this>>> [<class 'decimal.ConversionSyntax'>]
If I do:
format_decimal(1.347688e+05, locale='en_US')
returns>>> 134,768.8
**that would be enough, so I need to optimize.
Good afternoon, John with what you are reading this dataframe?
– Juan Caio
Good evening I am reading with pandas, the file is in xlsx format.
– Joao