Cannot Resolve Method Replace Python Dataframe Sort Values