Replace Element In Dataframe Python Definition