I need to remove ‘$’ symbol in ‘price’ column. I used pd.DataFrame.replace to do that.
replace result.
Why did nothing happen? MEDevel.com: Open-source for Healthcare and Education Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology. Visit Medevel
Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.
If I use str.replace it works: str.replace
Try this :
listings['price'].str.replace({'$':''},regex=True,inplace=True)
Subscribe now to keep reading and get access to the full archive.
Type your email…
Subscribe
Continue reading