I have a data frame df3= pd.DataFrame( {"a": ["21.7K","22.7K","1.7K"]} )
I would like to change the type of a to int, I try to replace "K" with "000", but the replace()method doesn't work even I set inplace = True. And it seems replacing with "000" also causes new problems with the inaccurate numbers. how can I change the data type to int?