I web scraped a data off of a website (did it with pandas and soup) and now ready to clean it.
The dataset name is datasetk
First problem: There are numbers that are 11.0k for example. I want to remove the k and then add two zeros and the remove the decimal to have 11000 - 11 thousand
Second problem: There are numbers that are 5.0m for example. I want to remove the m and then add five zeros and the remove the decimal to have 5000000 - 5 million
I want to do this in a loop so I don't have to manually do it in python or R