I am having a data which i read in python. In a column 'title', few of the rows have extra characters like 'new' which i want to remove. i tried to find proper code but i couldnt find any, when i tried my own i got error.could anyone please help!!! Thanks in advance. title data
if indeed['title'] == indeed.loc[indeed['title'].str.startswith('new')].copy():
    indeed['title'].str[3:]
error
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-34-486b16b22bea> in <module>
----> 1 if indeed['title'] == indeed.loc[indeed['title'].str.startswith('new')].copy():
      2     indeed['title'].str[3:]
~/opt/anaconda3/lib/python3.7/site-packages/pandas/core/generic.py in __nonzero__(self)
   1325     def __nonzero__(self):
   1326         raise ValueError(
-> 1327             f"The truth value of a {type(self).__name__} is ambiguous. "
   1328             "Use a.empty, a.bool(), a.item(), a.any() or a.all()."
   1329         )
ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
 
    