What is an easy way in Python to format integers into strings representing thousands with K, and millions with M, and leaving just couple digits after comma?
I\'d li
I had the same need. And if anyone comes on this topic, I found a lib to do so: https://github.com/azaitsev/millify
Hope it helps :)