I retrieve data from a website, the price column is 809.989K, 1.792M and I want to combine the numbers from the price column into a new column.
My dataframe
import pandas as pd
data = {
"price": ["809.989K", "1.792M"]
}
df = pd.DataFrame(data)
df
Desired output