Changing Million/Billion abbreviations into actual numbers? ie. 5.12M -> 5,120,000 [duplicate]
问题 This question already has answers here : Convert from billion to million and vice versa (6 answers) Closed 2 years ago . As the title suggests I'm looking for a way to transform short hand abbreviated 'character' text to numerical data. For example I'd like to make these changes within my dataframe: 84.06M -> 84,060,000 30.12B -> 30,120,000,000 9.78B -> 9,780,000,000 251.29M -> 251,29,000 Here's an example of some of the dataframe I'm working with: Index Market Cap Income Sales Book/sh ZX -