I want to delete specific strings with regular expressions from the column Sorte which I don’t want to have in my dataframe file_df with the following code: But somehow when I execute this code these strings still are in the dataset and I can not figure out why. I wanted to chain this expression to not create so many copies.