I was wondering whether it was possible to format numbers as currency in a easy way, and the following question helped me a lot: Currency Formatting in Python.
I did it, and worked fine. But it transformed my data in strings, which is not what I want.
Suppose I want to sum all my items in a pd.Series to return a total amount of money: it will return a string concatenation of all my data, not a number.
How can I cast my values back to numbers, but with the formatting? Is it possible?
Thanks in advance.