Replace character

PHOTO EMBED

Sun May 15 2022 06:09:02 GMT+0000 (Coordinated Universal Time)

Saved by @biggusdickus

df["new_price"] = df["new_price"].str.replace('New Car (On-Road Price) : Rs.',"", regex= False)
content_copyCOPY

https://stackoverflow.com/questions/37593550/replace-method-not-working-on-pandas-dataframe