Home > Enterprise >  Convert values to currency with millions and thousands python
Convert values to currency with millions and thousands python

Time:08-19

I have a dataframe with a column of values in the millions AND thousands:

pd.DataFrame({"Market Value":[25500000, 500000, 1200000, 250000]})

I need to convert the numbers into currency (€) in millions AND thousands. i.e. €25.5M, €500k, €1.2M, €250k

This enter image description here

  • Related