I would like to have a code in order to remove special character such as ? from values in a column in a dataframe.
I would like to remove from
()?()()() hello world'
the () and the ?.
However, when I am using the following code:
Community_final_level_2_description = Community_final_level_2_description.replace('()', ' ', regex=True) 
or
Community_final_level_2_description.replace('?', ' ', regex=True)
it is not working and I get an error.
Can someone provide me the proper code ?
 
     
     
    