Replace Function Python Dataframe Sorting In Excel