Replace Rows In Dataframe Python Definition