Python Dataframe String Replace Php