0
locale.setlocale(locale.LC_ALL, "Portuguese_Brazil.1252")
data = pd.read_excel('C:/Users/t714591/Videos/bancos/base.xlsx')
data["Valor"] = locale.currency(data["Valor"], grouping=True, symbol=None)
I have this mistake when I use the locale
to convert the number to EN:
"{0}".format(str(converter)))
Typeerror: cannot Convert the series to
This is because you are passing a series of pandas, but the function expects a number. If you want to format all values, see how to map them
– Woss
I understood and how can I change each one ?
– Guilherme Alves